Files
aris/apps/admin-dashboard
kenneth 3a4e393e7a fix(admin-dashboard): redirect to login on session fetch failure
Wrap the session check in beforeLoad with a try/catch so
network errors, 404s, and other failures redirect to the
login page instead of showing an error boundary.

Co-authored-by: Ona <no-reply@ona.com>
2026-03-24 21:10:31 +00:00
..
2026-03-23 00:31:34 +00:00
2026-03-23 00:31:34 +00:00
2026-03-23 00:31:34 +00:00

React + TypeScript + Vite + shadcn/ui

This is a template for a new Vite project with React, TypeScript, and shadcn/ui.

Adding components

To add components to your app, run the following command:

npx shadcn@latest add button

This will place the ui components in the src/components directory.

Using components

To use the components in your app, import them as follows:

import { Button } from "@/components/ui/button"