Showing
1 changed file
with
3 additions
and
1 deletions
... | @@ -3,11 +3,13 @@ import Image from "components/Image"; | ... | @@ -3,11 +3,13 @@ import Image from "components/Image"; |
3 | import styled from "styled-components"; | 3 | import styled from "styled-components"; |
4 | import dynamic from "next/dynamic"; | 4 | import dynamic from "next/dynamic"; |
5 | import { useState } from "react"; | 5 | import { useState } from "react"; |
6 | -import GifEditor from "components/GifEditor"; | ||
7 | 6 | ||
8 | const ToastEditor = dynamic(() => import("components/ToastEditor"), { | 7 | const ToastEditor = dynamic(() => import("components/ToastEditor"), { |
9 | ssr: false, | 8 | ssr: false, |
10 | }); | 9 | }); |
10 | +const GifEditor = dynamic(() => import("components/GifEditor"), { | ||
11 | + ssr: false, | ||
12 | +}); | ||
11 | 13 | ||
12 | const Index = () => { | 14 | const Index = () => { |
13 | const [isEditorOpened, setIsEditorOpened] = useState(false); | 15 | const [isEditorOpened, setIsEditorOpened] = useState(false); | ... | ... |
-
Please register or login to post a comment