railbird-gql/App.tsx

23 lines
436 B
TypeScript
Raw Normal View History

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 (
<ClientProvider>
<AuthProvider>
2024-02-07 11:57:32 -07:00
<AppNavigator />
</AuthProvider>
</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>
);
}