Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
cjdenio committed Jun 7, 2024
1 parent ab18c04 commit c219cf9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
4 changes: 1 addition & 3 deletions src/pages/Invitation.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Ionicons } from "@expo/vector-icons";
import { useTheme } from "@react-navigation/native";
import { NativeStackScreenProps } from "@react-navigation/native-stack";
import { useContext, useEffect } from "react";
import { useEffect } from "react";
import {
View,
Text,
Expand All @@ -13,7 +13,6 @@ import {
import useSWR, { useSWRConfig } from "swr";
import useSWRMutation from "swr/mutation";

import AuthContext from "../auth";
import Button from "../components/Button";
import useClient from "../lib/client";
import { StackParamList } from "../lib/NavigatorParamList";
Expand All @@ -29,7 +28,6 @@ export default function InvitationPage({
params: { inviteId, invitation: _invitation },
},
}: Props) {
const { token } = useContext(AuthContext);
const hcb = useClient();

const { data: invitation } = useSWR<Invitation>(
Expand Down
4 changes: 1 addition & 3 deletions src/pages/RenameTransaction.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useTheme } from "@react-navigation/native";
import { NativeStackScreenProps } from "@react-navigation/native-stack";
import { useContext, useState } from "react";
import { useState } from "react";
import {
ActivityIndicator,
StatusBar,
Expand All @@ -12,7 +12,6 @@ import useSWR, { useSWRConfig } from "swr";
import { unstable_serialize } from "swr/infinite";
import useSWRMutation from "swr/mutation";

import AuthContext from "../auth";
import useClient from "../lib/client";
import { StackParamList } from "../lib/NavigatorParamList";
import { getKey } from "../lib/organization/useTransactions";
Expand All @@ -27,7 +26,6 @@ export default function RenameTransactionPage({
},
navigation,
}: Props) {
const { token } = useContext(AuthContext);
const { colors: themeColors } = useTheme();
const { mutate } = useSWRConfig();
const hcb = useClient();
Expand Down
2 changes: 0 additions & 2 deletions src/pages/card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { useBottomTabBarHeight } from "@react-navigation/bottom-tabs";
import { useTheme } from "@react-navigation/native";
import { NativeStackScreenProps } from "@react-navigation/native-stack";
import * as Haptics from "expo-haptics";
import { useContext } from "react";
import {
ScrollView,
View,
Expand All @@ -13,7 +12,6 @@ import {
import useSWR, { useSWRConfig } from "swr";
import useSWRMutation from "swr/mutation";

import AuthContext from "../auth";
import Button from "../components/Button";
import PaymentCard from "../components/PaymentCard";
import Transaction from "../components/Transaction";
Expand Down

0 comments on commit c219cf9

Please sign in to comment.