2024-02-07 16:39:11 -07:00
|
|
|
import React from "react";
|
|
|
|
import { AuthProvider } from "./src/context";
|
|
|
|
import { ClientProvider } from "./src/graphql/client";
|
2024-02-06 16:08:19 -07:00
|
|
|
import AppNavigator from "./src/navigation/app-navigator";
|
2024-02-03 18:23:46 -07:00
|
|
|
|
2024-01-06 18:51:59 -07:00
|
|
|
const App: React.FC = () => {
|
2024-01-06 19:25:17 -07:00
|
|
|
return (
|
2024-01-31 16:55:33 -07:00
|
|
|
<ClientProvider>
|
2024-02-07 16:39:11 -07:00
|
|
|
<AuthProvider>
|
2024-02-07 11:57:32 -07:00
|
|
|
<AppNavigator />
|
2024-02-07 16:39:11 -07:00
|
|
|
</AuthProvider>
|
2024-01-31 16:55:33 -07:00
|
|
|
</ClientProvider>
|
2024-01-06 19:25:17 -07:00
|
|
|
);
|
2024-01-06 18:51:59 -07:00
|
|
|
};
|
|
|
|
|
2024-01-06 23:58:54 -07:00
|
|
|
export default function Root() {
|
|
|
|
return (
|
|
|
|
<React.StrictMode>
|
|
|
|
<App />
|
|
|
|
</React.StrictMode>
|
|
|
|
);
|
|
|
|
}
|