23 lines
436 B
TypeScript
23 lines
436 B
TypeScript
import React from "react";
|
|
import { AuthProvider } from "./src/context";
|
|
import { ClientProvider } from "./src/graphql/client";
|
|
import AppNavigator from "./src/navigation/app-navigator";
|
|
|
|
const App: React.FC = () => {
|
|
return (
|
|
<ClientProvider>
|
|
<AuthProvider>
|
|
<AppNavigator />
|
|
</AuthProvider>
|
|
</ClientProvider>
|
|
);
|
|
};
|
|
|
|
export default function Root() {
|
|
return (
|
|
<React.StrictMode>
|
|
<App />
|
|
</React.StrictMode>
|
|
);
|
|
}
|