Skip to content

Commit 3df21be

Browse files
committed
fix(shadcn): fixed typo in main tsx example
1 parent 59376eb commit 3df21be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/shadcn/src/main.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ auth.authStateReady().then(() => {
4141
<ThemeToggle />
4242
<Routes>
4343
<Route path="/" element={<App />} />
44-
<Route element={<ScreeRoute />}>
44+
<Route element={<ScreenRoute />}>
4545
{allRoutes.map((route) => (
4646
<Route key={route.path} path={route.path} element={<route.component />} />
4747
))}
@@ -52,7 +52,7 @@ auth.authStateReady().then(() => {
5252
);
5353
});
5454

55-
function ScreeRoute() {
55+
function ScreenRoute() {
5656
return (
5757
<div className="p-8">
5858
<Link to="/">

0 commit comments

Comments
 (0)