Skip to content

Commit

Permalink
Move categories.tsx to categories/index.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
bouzuya committed Mar 24, 2023
1 parent 528d32b commit 4047136
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Expand Up @@ -2,17 +2,17 @@ import { useSearchParams } from "expo-router";
import { useEffect, useState } from "react";
import { StyleSheet, View } from "react-native";
import { FAB } from "react-native-paper";
import { CategoryList } from "../../../components/CategoryList";
import { DeleteCategoryDialog } from "../../../components/DeleteCategoryDialog";
import { EditCategoryDialog } from "../../../components/EditCategoryDialog";
import { CategoryList } from "../../../../components/CategoryList";
import { DeleteCategoryDialog } from "../../../../components/DeleteCategoryDialog";
import { EditCategoryDialog } from "../../../../components/EditCategoryDialog";
import {
Account,
createCategory,
deleteCategory,
restoreAccount,
updateCategory,
} from "../../../lib/account";
import { createEvent, getEvents } from "../../../lib/api";
} from "../../../../lib/account";
import { createEvent, getEvents } from "../../../../lib/api";

export default function Categories(): JSX.Element {
const params = useSearchParams();
Expand Down
2 changes: 1 addition & 1 deletion app/accounts/[id]/index.tsx
@@ -1,7 +1,7 @@
import { Stack } from "expo-router";
import { useState } from "react";
import { BottomNavigation } from "react-native-paper";
import Categories from "./categories";
import Categories from "./categories/index";
import Transactions from "./transactions/index";

export default function AccountRoot(): JSX.Element {
Expand Down

0 comments on commit 4047136

Please sign in to comment.