Skip to content

Commit

Permalink
Fix build due to invalid strategy prop on html div
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiash98 committed Nov 15, 2023
1 parent 4fbf7e3 commit bac7712
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
6 changes: 1 addition & 5 deletions apps/kvarteret/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@ function MyApp({ Component, pageProps }: AppProps) {
<Layout data={pageProps.layout}>
<Script src="https://unpkg.com/[email protected]/dist/vibrant.min.js"></Script>
{pageProps?.layout?.scripts?.map((x, i) => (
<div
key={i}
strategy="afterInteractive"
dangerouslySetInnerHTML={{ __html: x.script }}
/>
<div key={i} dangerouslySetInnerHTML={{ __html: x.script }} />
))}
<Component {...pageProps} />
</Layout>
Expand Down
1 change: 0 additions & 1 deletion apps/kvarteret/pages/infoskjerm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import {
import logo from "../public/static/Kvarteret_logo_rosa.png";

interface EventProps {
arrangoer: string;
sted: string;
event: string;
tid: string;
Expand Down

0 comments on commit bac7712

Please sign in to comment.