diff --git a/surfsense_web/app/(home)/announcements/page.tsx b/surfsense_web/app/(home)/announcements/page.tsx
index 7be00a533..bfc883dfc 100644
--- a/surfsense_web/app/(home)/announcements/page.tsx
+++ b/surfsense_web/app/(home)/announcements/page.tsx
@@ -69,11 +69,7 @@ const categoryConfig: Record<
// Announcement card
// ---------------------------------------------------------------------------
-function AnnouncementCard({
- announcement,
-}: {
- announcement: AnnouncementWithState;
-}) {
+function AnnouncementCard({ announcement }: { announcement: AnnouncementWithState }) {
const config = categoryConfig[announcement.category] ?? categoryConfig.info;
const Icon = config.icon;
@@ -179,10 +175,7 @@ export default function AnnouncementsPage() {
) : (
{announcements.map((announcement) => (
-
+
))}
)}
diff --git a/surfsense_web/components/announcements/AnnouncementToastProvider.tsx b/surfsense_web/components/announcements/AnnouncementToastProvider.tsx
index 591c3b875..3ae6bf233 100644
--- a/surfsense_web/components/announcements/AnnouncementToastProvider.tsx
+++ b/surfsense_web/components/announcements/AnnouncementToastProvider.tsx
@@ -69,7 +69,7 @@ export function AnnouncementToastProvider() {
const authed = isAuthenticated();
const active = getActiveAnnouncements(announcements, authed);
const importantUntoasted = active.filter(
- (a) => a.isImportant && !isAnnouncementToasted(a.id),
+ (a) => a.isImportant && !isAnnouncementToasted(a.id)
);
for (let i = 0; i < importantUntoasted.length; i++) {
diff --git a/surfsense_web/components/editor/plate-editor.tsx b/surfsense_web/components/editor/plate-editor.tsx
index a0c316d88..688b481f1 100644
--- a/surfsense_web/components/editor/plate-editor.tsx
+++ b/surfsense_web/components/editor/plate-editor.tsx
@@ -1,16 +1,15 @@
"use client";
-import { useEffect, useMemo, useRef } from "react";
import { MarkdownPlugin, remarkMdx } from "@platejs/markdown";
import type { AnyPluginConfig } from "platejs";
import { createPlatePlugin, Key, Plate, usePlateEditor } from "platejs/react";
+import { useEffect, useMemo, useRef } from "react";
import remarkGfm from "remark-gfm";
import remarkMath from "remark-math";
-
-import { type EditorPreset, presetMap } from "@/components/editor/presets";
-import { Editor, EditorContainer } from "@/components/ui/editor";
-import { escapeMdxExpressions } from "@/components/editor/utils/escape-mdx";
import { EditorSaveContext } from "@/components/editor/editor-save-context";
+import { type EditorPreset, presetMap } from "@/components/editor/presets";
+import { escapeMdxExpressions } from "@/components/editor/utils/escape-mdx";
+import { Editor, EditorContainer } from "@/components/ui/editor";
export interface PlateEditorProps {
/** Markdown string to load as initial content */
diff --git a/surfsense_web/components/editor/plugins/autoformat-kit.tsx b/surfsense_web/components/editor/plugins/autoformat-kit.tsx
index a145fbb94..98f5a128c 100644
--- a/surfsense_web/components/editor/plugins/autoformat-kit.tsx
+++ b/surfsense_web/components/editor/plugins/autoformat-kit.tsx
@@ -3,11 +3,11 @@
import type { AutoformatRule } from "@platejs/autoformat";
import {
+ AutoformatPlugin,
autoformatArrow,
autoformatLegal,
autoformatLegalHtml,
autoformatMath,
- AutoformatPlugin,
autoformatPunctuation,
autoformatSmartQuotes,
} from "@platejs/autoformat";
diff --git a/surfsense_web/components/editor/plugins/dnd-kit.tsx b/surfsense_web/components/editor/plugins/dnd-kit.tsx
index 0d02c855e..63920353d 100644
--- a/surfsense_web/components/editor/plugins/dnd-kit.tsx
+++ b/surfsense_web/components/editor/plugins/dnd-kit.tsx
@@ -1,10 +1,9 @@
"use client";
+import { DndPlugin } from "@platejs/dnd";
import { DndProvider } from "react-dnd";
import { HTML5Backend } from "react-dnd-html5-backend";
-import { DndPlugin } from "@platejs/dnd";
-
import { BlockDraggable } from "@/components/ui/block-draggable";
export const DndKit = [
diff --git a/surfsense_web/components/editor/transforms.ts b/surfsense_web/components/editor/transforms.ts
index 5f74c9673..5590e4a50 100644
--- a/surfsense_web/components/editor/transforms.ts
+++ b/surfsense_web/components/editor/transforms.ts
@@ -1,13 +1,12 @@
"use client";
-import type { PlateEditor } from "platejs/react";
-
import { insertCallout } from "@platejs/callout";
import { insertCodeBlock, toggleCodeBlock } from "@platejs/code-block";
import { triggerFloatingLink } from "@platejs/link/react";
import { insertInlineEquation } from "@platejs/math";
import { TablePlugin } from "@platejs/table/react";
-import { type NodeEntry, type Path, type TElement, KEYS, PathApi } from "platejs";
+import { KEYS, type NodeEntry, type Path, PathApi, type TElement } from "platejs";
+import type { PlateEditor } from "platejs/react";
const insertList = (editor: PlateEditor, type: string) => {
editor.tf.insertNodes(
diff --git a/surfsense_web/components/tool-ui/linear/create-linear-issue.tsx b/surfsense_web/components/tool-ui/linear/create-linear-issue.tsx
index 5867863cc..b6eea7a28 100644
--- a/surfsense_web/components/tool-ui/linear/create-linear-issue.tsx
+++ b/surfsense_web/components/tool-ui/linear/create-linear-issue.tsx
@@ -215,9 +215,9 @@ function ApprovalCard({
onValueChange={(v) => {
setSelectedWorkspaceId(v);
setSelectedTeamId("");
- setSelectedStateId("__none__");
- setSelectedAssigneeId("__none__");
- setSelectedPriority("0");
+ setSelectedStateId("__none__");
+ setSelectedAssigneeId("__none__");
+ setSelectedPriority("0");
setSelectedLabelIds([]);
}}
>
@@ -243,13 +243,13 @@ function ApprovalCard({