From 964633f426a87a3ab49785816f323425cf8c55b1 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sun, 15 Feb 2026 15:36:58 +0200 Subject: [PATCH 01/13] refactor(client/web_view): fix lint & formatting --- .../src/widgets/type_widgets/WebView.tsx | 59 ++++++++++--------- 1 file changed, 31 insertions(+), 28 deletions(-) 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