Fix: web app theme intialization (#14761)
This commit is contained in:
parent
64e122c5f6
commit
bb4e7da720
6 changed files with 12 additions and 59 deletions
|
|
@ -1,7 +1,6 @@
|
|||
import React from 'react'
|
||||
import type { FC } from 'react'
|
||||
import type { Metadata } from 'next'
|
||||
import { SharePageContextProvider } from '@/context/share-page-context'
|
||||
|
||||
export const metadata: Metadata = {
|
||||
icons: 'data:,', // prevent browser from using default favicon
|
||||
|
|
@ -12,9 +11,7 @@ const Layout: FC<{
|
|||
}> = ({ children }) => {
|
||||
return (
|
||||
<div className="min-w-[300px] h-full pb-[env(safe-area-inset-bottom)]">
|
||||
<SharePageContextProvider>
|
||||
{children}
|
||||
</SharePageContextProvider>
|
||||
{children}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue