adding pilot

This commit is contained in:
2024-08-16 19:38:38 -05:00
parent 9785879754
commit daa1aeb8d2
2 changed files with 3 additions and 3 deletions

View File

@@ -86,14 +86,14 @@ const App: React.FC<unknown> = () => {
}, []); }, []);
return ( return (
<> <div className="container mx-auto">
<SiteNav handleSignIn={handleSignIn} handleSignOut={handleSignOut} /> <SiteNav handleSignIn={handleSignIn} handleSignOut={handleSignOut} />
<Routes> <Routes>
{useFeatureFlag('flying-pilots')?.enabled && ( {useFeatureFlag('flying-pilots')?.enabled && (
<Route path="/" element={<Pilots />} /> <Route path="/" element={<Pilots />} />
)} )}
</Routes> </Routes>
</> </div>
); );
}; };

View File

@@ -16,7 +16,7 @@ const Pilots: React.FC<unknown> = () => {
const [date, setDate] = useState(); const [date, setDate] = useState();
return ( return (
<Card className="pt-10"> <Card className="mt-6">
<div className="px-6"> <div className="px-6">
<Typography variant="h3">Pilots</Typography> <Typography variant="h3">Pilots</Typography>
<Button <Button