diff --git a/src/app/content/App.tsx b/src/app/content/App.tsx index d1b78a3..30e22b4 100644 --- a/src/app/content/App.tsx +++ b/src/app/content/App.tsx @@ -19,6 +19,7 @@ import LogoIcon3 from '@/assets/images/logo-3.svg' import LogoIcon4 from '@/assets/images/logo-4.svg' import LogoIcon5 from '@/assets/images/logo-5.svg' import LogoIcon6 from '@/assets/images/logo-6.svg' + import { getDay } from 'date-fns' export default function App() { @@ -72,7 +73,7 @@ export default function App() { - + ) diff --git a/src/app/content/views/AppButton/index.tsx b/src/app/content/views/AppButton/index.tsx index da601c9..2a5aa55 100644 --- a/src/app/content/views/AppButton/index.tsx +++ b/src/app/content/views/AppButton/index.tsx @@ -92,7 +92,7 @@ const AppButton: FC = ({ children, onClick }) => { diff --git a/src/types/shim.d.ts b/src/types/shim.d.ts index 65c3c23..0082d9e 100644 --- a/src/types/shim.d.ts +++ b/src/types/shim.d.ts @@ -1,17 +1,7 @@ -// issues: https://github.com/facebook/react/issues/17157 -// issues: https://github.com/facebook/react/pull/24730 -declare module 'react' { - interface HTMLAttributes extends AriaAttributes, DOMAttributes { - inert?: boolean | undefined | '' - } -} +declare module '*.svg' { + import * as React from 'react' -declare global { - namespace JSX { - interface IntrinsicAttributes { - inert?: boolean | undefined | '' - } - } -} + const ReactComponent: React.FunctionComponent & { title?: string }> -export {} + export default ReactComponent +} diff --git a/wxt.config.ts b/wxt.config.ts index 757e921..1f0ea62 100644 --- a/wxt.config.ts +++ b/wxt.config.ts @@ -35,8 +35,6 @@ export default defineConfig({ plugins: [ react(), svgr({ - // svgr options: https://react-svgr.com/docs/options/ - svgrOptions: { exportType: 'default', ref: true, svgo: false, titleProp: true }, include: '**/*.svg' }) ]