Skip to content

Commit 618eebf

Browse files
committed
Update root.tsx
1 parent bacc587 commit 618eebf

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

app/root.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import { cn } from './lib/cn'
2929
export const links: LinksFunction = () => [
3030
{
3131
rel: 'icon',
32-
href: '/favicon.svg',
32+
href: '/favicon.iso',
3333
type: 'image/svg+xml'
3434
},
3535
{ rel: 'stylesheet', href: stylesheet },
@@ -40,15 +40,15 @@ export const links: LinksFunction = () => [
4040
export async function loader() {
4141
return json({
4242
ENV: {
43-
STRIPE_PUBLIC_KEY: process.env.STRIPE_PUBLIC_KEY,
44-
},
45-
});
43+
STRIPE_PUBLIC_KEY: process.env.STRIPE_PUBLIC_KEY
44+
}
45+
})
4646
}
4747

4848
export default function App() {
4949
const navigation = useNavigation()
5050
const location = useLocation()
51-
const data = useLoaderData<typeof loader>();
51+
const data = useLoaderData<typeof loader>()
5252

5353
// detect if it's loaded in wm tools
5454
const isEmbeded = location.pathname.indexOf('extension') !== -1
@@ -95,7 +95,7 @@ export default function App() {
9595
</div>
9696
<script
9797
dangerouslySetInnerHTML={{
98-
__html: `window.ENV = ${JSON.stringify(data.ENV)}`,
98+
__html: `window.ENV = ${JSON.stringify(data.ENV)}`
9999
}}
100100
/>
101101
<ScrollRestoration />

0 commit comments

Comments
 (0)