File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ import { cn } from './lib/cn'
2929export 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 = () => [
4040export 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
4848export 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 />
You can’t perform that action at this time.
0 commit comments