diff --git a/apps/client/src/widgets/type_widgets/WebView.tsx b/apps/client/src/widgets/type_widgets/WebView.tsx index 3b47a0cd15..40c5ef8655 100644 --- a/apps/client/src/widgets/type_widgets/WebView.tsx +++ b/apps/client/src/widgets/type_widgets/WebView.tsx @@ -1,13 +1,15 @@ +import "./WebView.css"; + import { useCallback, useState } from "preact/hooks"; + import FNote from "../../entities/fnote"; import { t } from "../../services/i18n"; +import toast from "../../services/toast"; import utils from "../../services/utils"; +import Button from "../react/Button"; +import FormGroup from "../react/FormGroup"; import { useNoteLabel } from "../react/hooks"; import { TypeWidgetProps } from "./type_widget"; -import "./WebView.css"; -import FormGroup from "../react/FormGroup"; -import toast from "../../services/toast"; -import Button from "../react/Button"; const isElectron = utils.isElectron(); @@ -22,47 +24,48 @@ export default function WebView({ note }: TypeWidgetProps) { function WebViewContent({ src }: { src: string }) { if (!isElectron) { - return