Skip to content

Commit

Permalink
useQuery clean up part 1
Browse files Browse the repository at this point in the history
  • Loading branch information
bloodyowl committed Apr 2, 2024
1 parent 7b5a380 commit 06618a2
Show file tree
Hide file tree
Showing 9 changed files with 2,208 additions and 2,030 deletions.
4 changes: 2 additions & 2 deletions clients/banking/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Suspense } from "react";
import { StyleSheet } from "react-native";
import { P, match } from "ts-pattern";
import { Provider as ClientProvider } from "urql";
import { AccountArea } from "./components/AccountArea";
import { AccountMembershipArea } from "./components/AccountMembershipArea";
import { ErrorView } from "./components/ErrorView";
import { ProjectRootRedirect } from "./components/ProjectRootRedirect";
import { NotFoundPage } from "./pages/NotFoundPage";
Expand Down Expand Up @@ -59,7 +59,7 @@ export const App = () => {
.with({ name: "AccountArea" }, { name: "ProjectRootRedirect" }, route =>
match(route)
.with({ name: "AccountArea" }, ({ params: { accountMembershipId } }) => (
<AccountArea accountMembershipId={accountMembershipId} />
<AccountMembershipArea accountMembershipId={accountMembershipId} />
))
.with({ name: "ProjectRootRedirect" }, ({ params: { to, source } }) => (
<ProjectRootRedirect to={to} source={source} />
Expand Down
Loading

0 comments on commit 06618a2

Please sign in to comment.