Fix building thanks to @FabianLars
This commit is contained in:
1 file changed
+3
-1
+3
-1
@@ -3,6 +3,8 @@
|
|||||||
import React, { useState } from "react";
|
import React, { useState } from "react";
|
||||||
|
|
||||||
import Konami from "react-konami-code";
|
import Konami from "react-konami-code";
|
||||||
|
// @ts-ignore
|
||||||
|
const Kon = Konami.default ? Konami.default : Konami;
|
||||||
|
|
||||||
import { ThemeProvider } from "@mui/material/styles";
|
import { ThemeProvider } from "@mui/material/styles";
|
||||||
import { SnackbarProvider } from "notistack";
|
import { SnackbarProvider } from "notistack";
|
||||||
@@ -286,7 +288,7 @@ function App() {
|
|||||||
</Box>
|
</Box>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<Konami resetDelay={1000} action={sixtyNine}></Konami>
|
<Kon resetDelay={1000} action={sixtyNine}></Kon>
|
||||||
<Dialog
|
<Dialog
|
||||||
open={easterEgg}
|
open={easterEgg}
|
||||||
onClose={() => setEasterEgg(false)}
|
onClose={() => setEasterEgg(false)}
|
||||||
|
|||||||
Reference in new issue
Block a user