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>
	);
}
