Przeglądaj źródła

remove debug code

Yuki Takei 2 lat temu
rodzic
commit
a5bc1d42de

+ 0 - 1
apps/app/src/components/PageEditor/PageEditor.tsx

@@ -157,7 +157,6 @@ export const PageEditor = React.memo((props: Props): JSX.Element => {
 
 
   const [markdownToPreview, setMarkdownToPreview] = useState<string>(initialValue);
   const [markdownToPreview, setMarkdownToPreview] = useState<string>(initialValue);
   const setMarkdownPreviewWithDebounce = useMemo(() => debounce(100, throttle(150, (value: string) => {
   const setMarkdownPreviewWithDebounce = useMemo(() => debounce(100, throttle(150, (value: string) => {
-    console.log({ value });
     setMarkdownToPreview(value);
     setMarkdownToPreview(value);
   })), []);
   })), []);
   const mutateIsEnabledUnsavedWarningWithDebounce = useMemo(() => debounce(600, throttle(900, (value: string) => {
   const mutateIsEnabledUnsavedWarningWithDebounce = useMemo(() => debounce(600, throttle(900, (value: string) => {