Skip to content

Commit

Permalink
Restructure folders
Browse files Browse the repository at this point in the history
  • Loading branch information
dguenther committed Apr 23, 2024
1 parent a1c99e9 commit 32168a7
Show file tree
Hide file tree
Showing 12 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/mobile-app/app/(tabs)/transact.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { View, Text } from "react-native";
import { useFacade } from "../../data";
import { useFacade } from "../../data/facades";
import { Button } from "@ironfish/ui";
import { useQueryClient } from "@tanstack/react-query";

Expand Down
2 changes: 1 addition & 1 deletion packages/mobile-app/app/_layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Stack } from "expo-router";
import { Text } from 'react-native';
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";

import { FacadeProvider, useFacade } from "../data";
import { FacadeProvider, useFacade } from "../data/facades";
import React, { useEffect } from "react";

const queryClient = new QueryClient();
Expand Down
3 changes: 3 additions & 0 deletions packages/mobile-app/data/facades/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# facades

Facades use the `data-facade` package to provide a `tanstack/react-query` interface between the wallet code in the `data` folder and the Expo frontend in the `app` folder.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 32168a7

Please sign in to comment.