Skip to content

Commit

Permalink
feat(751): add optimisation to with-own-theme (#838)
Browse files Browse the repository at this point in the history
* feat(751): add optimisation to with-own-theme

* feat(751): revert shouldFailOnWarn suppression

---------

Co-authored-by: JohnTParsons <JohnTParsons>
  • Loading branch information
JohnTParsons authored Apr 19, 2023
1 parent 20ece71 commit 3d8b570
Show file tree
Hide file tree
Showing 8 changed files with 893 additions and 22 deletions.
2 changes: 1 addition & 1 deletion site/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export default class MyApp extends App<Props, State> {

<NewsKitProvider
theme={theme}
themeOptions={{exposeCssVariables: true}}
themeOptions={{exposeCssVariables: true, useThemeCache: true}}
layer={{zIndex: 1000}}
instrumentation={createEventInstrumentation(handlers, {
...pageProps,
Expand Down
Loading

0 comments on commit 3d8b570

Please sign in to comment.