Skip to content

Commit

Permalink
fix: correctly point to the admin favicon
Browse files Browse the repository at this point in the history
Signed-off-by: tylerslaton <[email protected]>
  • Loading branch information
tylerslaton committed Oct 21, 2024
1 parent 4234b4e commit 0257d8f
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions ui/admin/app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import {
Scripts,
ScrollRestoration,
} from "@remix-run/react";
import { SWRConfig } from "swr";

import { AuthProvider } from "~/components/auth/AuthContext";
import { LayoutProvider } from "~/components/layout/LayoutProvider";
Expand Down Expand Up @@ -34,6 +33,7 @@ export function Layout({ children }: { children: React.ReactNode }) {
<html lang="en">
<head>
<meta charSet="utf-8" />
<link rel="icon shortcut icon apple-touch-icon" href="/admin/favicon.ico" />
<meta
name="viewport"
content="width=device-width, initial-scale=1"
Expand All @@ -53,15 +53,13 @@ export function Layout({ children }: { children: React.ReactNode }) {

export default function App() {
return (
<SWRConfig value={{ revalidateOnFocus: false }}>
<AuthProvider>
<ThemeProvider>
<LayoutProvider>
<Outlet />
</LayoutProvider>
</ThemeProvider>
</AuthProvider>
</SWRConfig>
<AuthProvider>
<ThemeProvider>
<LayoutProvider>
<Outlet />
</LayoutProvider>
</ThemeProvider>
</AuthProvider>
);
}

Expand Down

0 comments on commit 0257d8f

Please sign in to comment.