feat: implement authentication and health check providers with hooks for user management
This commit is contained in:
@@ -2,6 +2,7 @@ import { Box, Button, Card, Flex, Grid, Heading, Text } from '@radix-ui/themes';
|
||||
import type { Route } from './+types/home';
|
||||
import TablePlaceholder from '../components/home/TablePlaceholder';
|
||||
import { useLayout } from '../providers/LayoutProvider';
|
||||
import { useEnsureLoggedIn } from '../hooks/ensureLoggedIn';
|
||||
|
||||
// eslint-disable-next-line no-empty-pattern
|
||||
export function meta({}: Route.MetaArgs) {
|
||||
@@ -9,6 +10,7 @@ export function meta({}: Route.MetaArgs) {
|
||||
}
|
||||
|
||||
export default function ProxyHostDemo() {
|
||||
useEnsureLoggedIn();
|
||||
const { activeTab } = useLayout();
|
||||
return (
|
||||
<Box>
|
||||
|
||||
Reference in New Issue
Block a user