Skip to content

A modern platform for visual, flexible, and extensible graph-based investigations. For cybersecurity analysts and investigators.

fix(frontend): resolve no-unescaped-entities and ban-ts-comment

dextmorgn64100914d753
diff --git a/flowsint-app/src/components/analyses/editor/extensions/image/hooks/use-drag-resize.ts b/flowsint-app/src/components/analyses/editor/extensions/image/hooks/use-drag-resize.ts
index b65120d2..1ce63e7b 100644
--- a/flowsint-app/src/components/analyses/editor/extensions/image/hooks/use-drag-resize.ts
+++ b/flowsint-app/src/components/analyses/editor/extensions/image/hooks/use-drag-resize.ts
@@ -122,7 +122,6 @@ export function useDragResize({
[maxWidth, widthConstraint, dimensions.width, dimensions.height, minWidth, minHeight]
)
- //@ts-ignore
useEffect(() => {
if (resizeDirection) {
document.addEventListener('keydown', handleKeydown)
diff --git a/flowsint-app/src/components/analyses/editor/extensions/mention/mention-list.tsx b/flowsint-app/src/components/analyses/editor/extensions/mention/mention-list.tsx
index 0a1afb8e..47c6e1dc 100644
--- a/flowsint-app/src/components/analyses/editor/extensions/mention/mention-list.tsx
+++ b/flowsint-app/src/components/analyses/editor/extensions/mention/mention-list.tsx
@@ -94,7 +94,6 @@ type MentionItemProps = {
}
const MentionListItem = ({ item, index, selectedIndex, selectItem }: MentionItemProps) => {
const SourceIcon = useIcon(item.nodeType, {
- // @ts-ignore
nodeIcon: item.nodeIcon,
nodeImage: item.nodeImage
})
diff --git a/flowsint-app/src/components/analyses/editor/extensions/mention/mention.tsx b/flowsint-app/src/components/analyses/editor/extensions/mention/mention.tsx
index f4cd1c6b..fba161f4 100644
--- a/flowsint-app/src/components/analyses/editor/extensions/mention/mention.tsx
+++ b/flowsint-app/src/components/analyses/editor/extensions/mention/mention.tsx
@@ -79,7 +79,7 @@ const MentionComponent = memo((props: any) => {
})
const colors = useNodesDisplaySettings((s) => s.colors)
const color = nodeType
- ? // @ts-ignore
+ ? // @ts-expect-error colors is keyed by ItemType, nodeType is a plain string
(colors[nodeType] ?? GRAPH_COLORS.NODE_DEFAULT)
: GRAPH_COLORS.NODE_DEFAULT
const centerOnNode = useGraphControls((state) => state.centerOnNode)
@@ -105,7 +105,6 @@ const MentionComponent = memo((props: any) => {
className="px-.5 gap-1 pr-1 py-.5 flex items-center cursor-pointer text-xs rounded-full text-foreground"
style={{
backgroundColor: hexWithOpacity(color, 0.2),
- //@ts-ignore
border: `solid 1px ${hexWithOpacity(color, 0.5)}`
}}
>
diff --git a/flowsint-app/src/components/analyses/editor/minimal-tiptap.tsx b/flowsint-app/src/components/analyses/editor/minimal-tiptap.tsx
index 37542e43..4b3e0fdc 100644
--- a/flowsint-app/src/components/analyses/editor/minimal-tiptap.tsx
+++ b/flowsint-app/src/components/analyses/editor/minimal-tiptap.tsx
@@ -22,7 +22,6 @@ export interface MinimalTiptapProps extends Omit<UseMinimalTiptapEditorProps, 'o
onEditorReady?: (editor: Editor) => void
showToolbar?: boolean
}
-//@ts-ignore
const Toolbar = ({ editor }: { editor: Editor }) => (
<div className="shrink-0 h-11 overflow-x-auto border-b border-border px-2 flex items-center">
<div className="flex w-max items-center gap-px">
diff --git a/flowsint-app/src/components/chat/chat-history.tsx b/flowsint-app/src/components/chat/chat-history.tsx
index 46ff9f06..c4a00841 100644
--- a/flowsint-app/src/components/chat/chat-history.tsx
+++ b/flowsint-app/src/components/chat/chat-history.tsx
@@ -35,13 +35,7 @@ const ChatHistory = ({
<div className="flex items-center justify-between p-3 border-b w-full">
<div className="flex w-full items-center justify-between gap-1">
<div className="flex items-center gap-2">
- <Button
- variant="ghost"
- size="icon"
- className="h-6 w-6"
- //@ts-ignore
- onClick={() => setView('chat')}
- >
+ <Button variant="ghost" size="icon" className="h-6 w-6" onClick={() => setView('chat')}>
<ArrowLeft className="h-3 w-3" />
</Button>
<span className="opacity-60">Chat history</span>
diff --git a/flowsint-app/src/components/chat/floating-chat.tsx b/flowsint-app/src/components/chat/floating-chat.tsx
index f62190e8..95456b47 100644
--- a/flowsint-app/src/components/chat/floating-chat.tsx
+++ b/flowsint-app/src/components/chat/floating-chat.tsx
@@ -115,7 +115,6 @@ function FloatingChat() {
variant="ghost"
size="icon"
className="h-6 w-6"
- //@ts-ignore
onClick={handleCreateNewChat}
title="Create new chat"
>
@@ -130,7 +129,6 @@ function FloatingChat() {
variant="ghost"
size="icon"
className="h-6 w-6"
- //@ts-ignore
onClick={() => setView('history')}
title="Create new chat"
>
@@ -209,17 +207,22 @@ function FloatingChat() {
<div className="text-xs space-y-1">
<p className="font-medium text-left">Analysis & Insights</p>
<ul className="space-y-1 text-left opacity-60">
- <li>• "Analyze the connections between these entities"</li>
- <li>• "What patterns do you see in this data?"</li>
- <li>• "Summarize the key findings from this investigation"</li>
+ <li>
+ • &quot;Analyze the connections between these entities&quot;
+ </li>
+ <li>• &quot;What patterns do you see in this data?&quot;</li>
+ <li>
+ • &quot;Summarize the key findings from this
+ investigation&quot;
+ </li>
</ul>
</div>
<div className="text-xs space-y-1">
<p className="font-medium text-left">Investigation Help</p>
<ul className="space-y-1 text-left opacity-60">
- <li>• "Suggest next steps for this investigation"</li>
- <li>• "What should I look for next?"</li>
- <li>• "Help me organize this investigation"</li>
+ <li>• &quot;Suggest next steps for this investigation&quot;</li>
+ <li>• &quot;What should I look for next?&quot;</li>
+ <li>• &quot;Help me organize this investigation&quot;</li>
</ul>
</div>
</div>
diff --git a/flowsint-app/src/components/dashboard/empty-states.tsx b/flowsint-app/src/components/dashboard/empty-states.tsx
index c8f4838a..8eadf41b 100644
--- a/flowsint-app/src/components/dashboard/empty-states.tsx
+++ b/flowsint-app/src/components/dashboard/empty-states.tsx
@@ -202,7 +202,7 @@ export function EmptySearchResults() {
</div>
<h3 className="text-sm font-medium text-foreground mb-1">No results found</h3>
<p className="text-sm text-muted-foreground text-center max-w-[220px]">
- Try adjusting your search or filters to find what you're looking for
+ Try adjusting your search or filters to find what you&apos;re looking for
</p>
</div>
)
diff --git a/flowsint-app/src/components/flows/editor.tsx b/flowsint-app/src/components/flows/editor.tsx
index 9ba70ee5..ccb3321f 100644
--- a/flowsint-app/src/components/flows/editor.tsx
+++ b/flowsint-app/src/components/flows/editor.tsx
@@ -230,7 +230,6 @@ const FlowEditor = memo(({ initialEdges, initialNodes, theme, flow }: FlowEditor
}, [])
const onDrop = useCallback(
- //@ts-ignore
(event: React.DragEvent<HTMLDivElement>) => {
event.preventDefault()
if (!reactFlowWrapper.current || !reactFlowInstance) return
@@ -260,7 +259,7 @@ const FlowEditor = memo(({ initialEdges, initialNodes, theme, flow }: FlowEditor
class_name: enricherData.class_name,
module: enricherData.module || '',
key: enricherData.name,
- // @ts-ignore
+ // @ts-expect-error colors is keyed by ItemType, category is a plain string
color: colors[enricherData.category.toLowerCase()] || '#94a3b8',
name: enricherData.name,
category: enricherData.category,
diff --git a/flowsint-app/src/components/flows/raw-material.tsx b/flowsint-app/src/components/flows/raw-material.tsx
index 7fd5ebb8..cb20339c 100644
--- a/flowsint-app/src/components/flows/raw-material.tsx
+++ b/flowsint-app/src/components/flows/raw-material.tsx
@@ -28,7 +28,7 @@ export default function RawMaterial() {
const term = searchTerm.toLowerCase()
Object.entries(materials?.items).forEach(([category, items]) => {
- // @ts-ignore
+ // @ts-expect-error materials.items is typed unknown
const filtered = items.filter(
(item: any) =>
item.name.toLowerCase().includes(term) ||
@@ -78,7 +78,7 @@ export default function RawMaterial() {
<div key={category} className="space-y-2 w-full">
<h3 className="text-sm font-medium capitalize mt-4">{category.replace('_', ' ')}</h3>
<div className="space-y-2">
- {/* @ts-ignore */}
+ {/* @ts-expect-error enrichers is typed unknown */}
{enrichers.map((enricher: Enricher) => (
<EnricherItem
key={enricher.name}
@@ -91,7 +91,7 @@ export default function RawMaterial() {
))}
{Object.keys(filteredEnrichers).length === 0 && (
<div className="text-center py-4 text-muted-foreground">
- No enrichers found matching "{searchTerm}"
+ No enrichers found matching &quot;{searchTerm}&quot;
</div>
)}
</div>
diff --git a/flowsint-app/src/components/layout/info.tsx b/flowsint-app/src/components/layout/info.tsx
index 6c6280a1..3dd5d5fc 100644
--- a/flowsint-app/src/components/layout/info.tsx
+++ b/flowsint-app/src/components/layout/info.tsx
@@ -26,7 +26,7 @@ const InfoDialog = () => {
</p>
<p>
- Whether you're conducting <strong>cyber investigations</strong>, mapping out{' '}
+ Whether you&apos;re conducting <strong>cyber investigations</strong>, mapping out{' '}
<strong>fraud networks</strong>, or gathering intelligence for{' '}
<strong>threat assessments</strong>, Flowsint helps you collect, visualize, and
understand fragmented data points in a structured and interactive way.
@@ -94,8 +94,8 @@ const InfoDialog = () => {
<p>
Flowsint is designed for <strong>professionals</strong> who need{' '}
<strong>full control</strong> over their investigation logic, from how data is
- structured to how relationships are interpreted. It's not just a tool — it's a{' '}
- <strong>flexible workspace</strong> for building intelligence.
+ structured to how relationships are interpreted. It&apos;s not just a tool —
+ it&apos;s a <strong>flexible workspace</strong> for building intelligence.
</p>
</div>
</div>
diff --git a/flowsint-app/src/components/layout/status-bar.tsx b/flowsint-app/src/components/layout/status-bar.tsx
index 9880a4ad..3d3a1230 100644
--- a/flowsint-app/src/components/layout/status-bar.tsx
+++ b/flowsint-app/src/components/layout/status-bar.tsx
@@ -21,7 +21,7 @@ export const StatusBar = memo(() => {
enabled: !!sketch_id,
refetchInterval: 2500
// refetchInterval: (data) => {
- // // @ts-ignore
+ // // @ts-expect-error
// const hasPending = Array.isArray(data) && data?.some((scan) => scan.status === 'PENDING')
// return hasPending ? 2000 : false
// }
diff --git a/flowsint-app/src/components/map/map.tsx b/flowsint-app/src/components/map/map.tsx
index a9f5a9e8..36e95111 100644
--- a/flowsint-app/src/components/map/map.tsx
+++ b/flowsint-app/src/components/map/map.tsx
@@ -374,7 +374,7 @@ export const MapFromAddress: React.FC<MapFromAddressProps> = ({
<MapPin className="mx-auto h-12 w-12 text-muted-foreground" />
<div>
<h3 className="text-lg font-semibold">No location to display</h3>
- <p className="text-muted-foreground">This sketch doesn't have any location yet.</p>
+ <p className="text-muted-foreground">This sketch doesn&apos;t have any location yet.</p>
</div>
</div>
</div>
diff --git a/flowsint-app/src/components/shared/icon-picker/popup.tsx b/flowsint-app/src/components/shared/icon-picker/popup.tsx
index 3049fb15..66f5d54e 100644
--- a/flowsint-app/src/components/shared/icon-picker/popup.tsx
+++ b/flowsint-app/src/components/shared/icon-picker/popup.tsx
@@ -321,7 +321,7 @@ export default function IconPicker({ iconType, open, setOpen, onIconChange }: Ic
) : filteredIcons.length === 0 ? (
<div className="flex h-full items-center justify-center">
<div className="text-muted-foreground text-sm">
- No icons found matching "{search}"
+ No icons found matching &quot;{search}&quot;
</div>
</div>
) : (
diff --git a/flowsint-app/src/components/sketches/details-panel/details-panel.tsx b/flowsint-app/src/components/sketches/details-panel/details-panel.tsx
index dbba6ed5..73c2bdd2 100644
--- a/flowsint-app/src/components/sketches/details-panel/details-panel.tsx
+++ b/flowsint-app/src/components/sketches/details-panel/details-panel.tsx
@@ -741,7 +741,7 @@ const DetailsPanel = memo(() => {
</Tabs>
<IconPicker
- // @ts-ignore
+ // @ts-expect-error handleIconSelect takes a plain string, IconPicker expects a Lucide icon name
onIconChange={handleIconSelect}
open={openIconPicker}
setOpen={setOpenIconPicker}
diff --git a/flowsint-app/src/components/sketches/draggable-item.tsx b/flowsint-app/src/components/sketches/draggable-item.tsx
index a43eba7b..adcb2623 100644
--- a/flowsint-app/src/components/sketches/draggable-item.tsx
+++ b/flowsint-app/src/components/sketches/draggable-item.tsx
@@ -30,7 +30,7 @@ export const DraggableItem = memo(function DraggableItem({
const { actionItems } = useActionItems()
const [isDragging, setIsDragging] = useState(false)
const colors = useNodesDisplaySettings((s) => s.colors)
- // @ts-ignore
+ // @ts-expect-error colors is keyed by ItemType, icon is a plain string
const colorStr = colors[icon as string] || color
const IconComponent = useIcon(icon, { nodeIcon: icon, nodeColor: color })
diff --git a/flowsint-app/src/components/sketches/graph/components/legend.tsx b/flowsint-app/src/components/sketches/graph/components/legend.tsx
index b56c6f80..dd59c479 100644
--- a/flowsint-app/src/components/sketches/graph/components/legend.tsx
+++ b/flowsint-app/src/components/sketches/graph/components/legend.tsx
@@ -25,7 +25,7 @@ const Legend = () => {
{entries.map(([key, value]) => (
<li key={key}>
<div className="flex items-center gap-2">
- {/* @ts-ignore */}
+ {/* @ts-expect-error getIcon expects ItemType, key is a plain string */}
<span>{getIcon(key)}</span>
<span className="capitalize">{key.split('_').join(' ')}</span>
<span
diff --git a/flowsint-app/src/components/sketches/graph/panels/nodes-panel.tsx b/flowsint-app/src/components/sketches/graph/panels/nodes-panel.tsx
index bd436944..3075015e 100644
--- a/flowsint-app/src/components/sketches/graph/panels/nodes-panel.tsx
+++ b/flowsint-app/src/components/sketches/graph/panels/nodes-panel.tsx
@@ -329,7 +329,7 @@ const NodesPanel = memo(({ nodes, isLoading }: { nodes: GraphNode[]; isLoading?:
{!isLoading && filteredNodes?.length === 0 && searchQuery === '' && (
<div className="text-sm p-4 text-center">
<p className="border rounded-md border-dashed p-4 text-center">
- Drag and drop you first node in the "items" section.
+ Drag and drop you first node in the &quot;items&quot; section.
</p>
</div>
)}
diff --git a/flowsint-app/src/components/sketches/graph/utils/image-cache.tsx b/flowsint-app/src/components/sketches/graph/utils/image-cache.tsx
index 1bc17920..62fcbd14 100644
--- a/flowsint-app/src/components/sketches/graph/utils/image-cache.tsx
+++ b/flowsint-app/src/components/sketches/graph/utils/image-cache.tsx
@@ -1,5 +1,5 @@
import { TYPE_TO_ICON, useNodesDisplaySettings } from '@/stores/node-display-settings'
-//@ts-ignore
+//@ts-expect-error lucide-react ships no types for this deep icons path
import * as lucideIcons from 'lucide-react/dist/esm/icons'
import { renderToStaticMarkup } from 'react-dom/server'
diff --git a/flowsint-app/src/components/sketches/settings/settings.tsx b/flowsint-app/src/components/sketches/settings/settings.tsx
index 3ba1cd22..cb55f447 100644
--- a/flowsint-app/src/components/sketches/settings/settings.tsx
+++ b/flowsint-app/src/components/sketches/settings/settings.tsx
@@ -250,7 +250,7 @@ function NodeColorsSection() {
}, [randomizeColors])
const handleIconSelect = (iconType: string, iconName: string) => {
- // @ts-ignore
+ // @ts-expect-error iconName is a plain string, not narrowed to the Lucide icon-name union
setIcon(iconType, iconName)
clearIconTypeCache(iconType)
}
@@ -318,7 +318,7 @@ function NodeColorsSection() {
</div>
</div>
<IconPicker
- // @ts-ignore
+ // @ts-expect-error handleIconSelect takes a plain string, IconPicker expects a Lucide icon name
onIconChange={handleIconSelect}
open={openIconPicker}
setOpen={setOpenIconPicker}
@@ -625,7 +625,7 @@ export default function GlobalSettings() {
}
// For all other sections, use the dynamic renderer
- // @ts-ignore
+ // @ts-expect-error indexing the settings schema with a runtime string key
const category = settings[sectionId]
if (category) {
return (
diff --git a/flowsint-app/src/components/table/data-table.tsx b/flowsint-app/src/components/table/data-table.tsx
index 5a3dcb62..d9a341e7 100644
--- a/flowsint-app/src/components/table/data-table.tsx
+++ b/flowsint-app/src/components/table/data-table.tsx
@@ -117,7 +117,7 @@ const VirtualCell = React.memo<{
return (
<td
className={cellClassName}
- //@ts-ignore
+ //@ts-expect-error cellStyle carries CSS custom properties, not in the Properties type
style={cellStyle}
>
{flexRender(cell.column.columnDef.cell, cell.getContext())}
diff --git a/flowsint-app/src/components/table/nodes-view.tsx b/flowsint-app/src/components/table/nodes-view.tsx
index 6f26c871..45c7e3f6 100644
--- a/flowsint-app/src/components/table/nodes-view.tsx
+++ b/flowsint-app/src/components/table/nodes-view.tsx
@@ -240,7 +240,7 @@ export default function NodesTable({ nodes }: NodesTableProps) {
<Link className="mx-auto h-12 w-12 text-muted-foreground" />
<div>
<h3 className="text-lg font-semibold">No nodes found</h3>
- <p className="text-muted-foreground">This sketch doesn't have any nodes yet.</p>
+ <p className="text-muted-foreground">This sketch doesn&apos;t have any nodes yet.</p>
</div>
</div>
</div>
diff --git a/flowsint-app/src/components/table/relationships-view.tsx b/flowsint-app/src/components/table/relationships-view.tsx
index 0af70cdf..aad04176 100644
--- a/flowsint-app/src/components/table/relationships-view.tsx
+++ b/flowsint-app/src/components/table/relationships-view.tsx
@@ -344,7 +344,9 @@ export default function RelationshipsTable() {
<Link className="mx-auto h-12 w-12 text-muted-foreground" />
<div>
<h3 className="text-lg font-semibold">No relationships found</h3>
- <p className="text-muted-foreground">This sketch doesn't have any relationships yet.</p>
+ <p className="text-muted-foreground">
+ This sketch doesn&apos;t have any relationships yet.
+ </p>
</div>
</div>
</div>
diff --git a/flowsint-app/src/hooks/use-drag-drop.ts b/flowsint-app/src/hooks/use-drag-drop.ts
index 96b47814..9a971a71 100644
--- a/flowsint-app/src/hooks/use-drag-drop.ts
+++ b/flowsint-app/src/hooks/use-drag-drop.ts
@@ -26,7 +26,7 @@ export const useDragAndDrop = () => {
}, [])
const handleDragLeave = useCallback(() => {
- //@ts-ignore
+ //@ts-expect-error browser setTimeout returns number, this ref is typed for it, but TS resolves the Node types here
dragLeaveTimeoutRef.current = setTimeout(() => {
setIsDraggingOver(false)
}, 100)
diff --git a/flowsint-app/src/lib/utils.ts b/flowsint-app/src/lib/utils.ts
index 421acac4..5f01711b 100644
--- a/flowsint-app/src/lib/utils.ts
+++ b/flowsint-app/src/lib/utils.ts
@@ -125,9 +125,9 @@ export const getForceLayoutedElements = (
// Create simulation links
const simLinks = edges.map((edge) => ({
- // @ts-ignore
+ // @ts-expect-error edge.source is typed as string only, but can be an object with .id at runtime
source: typeof edge.source === 'object' ? edge.source.id : edge.source,
- // @ts-ignore
+ // @ts-expect-error edge.target is typed as string only, but can be an object with .id at runtime
target: typeof edge.target === 'object' ? edge.target.id : edge.target
}))
diff --git a/flowsint-app/src/main.tsx b/flowsint-app/src/main.tsx
index fcb41acb..d1db5558 100644
--- a/flowsint-app/src/main.tsx
+++ b/flowsint-app/src/main.tsx
@@ -18,7 +18,7 @@ const router = createRouter({
scrollRestoration: true,
defaultStructuralSharing: true,
// Keep components mounted but hidden during transitions
- // @ts-ignore
+ // @ts-expect-error children-only wrapper doesn't match RouteComponent's expected prop signature
defaultPendingComponent: ({ children }: { children: React.ReactNode }) => children,
defaultPendingMs: 0
})
diff --git a/flowsint-app/src/routes/_auth.dashboard.custom-types.index.tsx b/flowsint-app/src/routes/_auth.dashboard.custom-types.index.tsx
index 56c4fcb7..b5347c13 100644
--- a/flowsint-app/src/routes/_auth.dashboard.custom-types.index.tsx
+++ b/flowsint-app/src/routes/_auth.dashboard.custom-types.index.tsx
@@ -93,7 +93,7 @@ function CustomTypesPage() {
actions={
<Button
size="sm"
- // @ts-ignore
+ // @ts-expect-error 'new' is a $typeId param value handled by that route, not a route path itself
onClick={() => navigate({ to: '/dashboard/custom-types/new' })}
>
<PlusIcon className="w-4 h-4 mr-2" />
@@ -114,7 +114,7 @@ function CustomTypesPage() {
<Button
onClick={() =>
navigate({
- // @ts-ignore
+ // @ts-expect-error 'new' is a $typeId param value handled by that route, not a route path itself
to: '/dashboard/custom-types/new'
})
}
diff --git a/flowsint-app/src/routes/_auth.dashboard.investigations.$investigationId.$type.$id.tsx b/flowsint-app/src/routes/_auth.dashboard.investigations.$investigationId.$type.$id.tsx
index a2c15ad3..b827da1b 100644
--- a/flowsint-app/src/routes/_auth.dashboard.investigations.$investigationId.$type.$id.tsx
+++ b/flowsint-app/src/routes/_auth.dashboard.investigations.$investigationId.$type.$id.tsx
@@ -32,7 +32,7 @@ const GraphPageContent = () => {
refetch
} = useQuery({
queryKey: ['investigations', investigationId, type, id, 'data'],
- // @ts-ignore
+ // @ts-expect-error services is keyed by a literal union, type is a plain string
queryFn: () => services[type](id),
enabled: ['graph', 'analysis'].includes(type),
// refetchInterval: 5000,
@@ -71,7 +71,7 @@ const GraphPageContent = () => {
<div className="h-full w-full flex items-center justify-center">
<div className="text-center">
<h2 className="text-lg font-semibold mb-2">Type not supported</h2>
- <p className="text-muted-foreground">The type "{type}" is not supported yet.</p>
+ <p className="text-muted-foreground">The type &quot;{type}&quot; is not supported yet.</p>
</div>
</div>
)
@@ -79,7 +79,7 @@ const GraphPageContent = () => {
export const Route = createFileRoute('/_auth/dashboard/investigations/$investigationId/$type/$id')({
loader: async ({ params: { id, type, investigationId } }) => {
- // @ts-ignore
+ // @ts-expect-error services is keyed by a literal union, type is a plain string
const sketch = await services[type](id)
return { params: { id, type, investigationId }, sketch }
},
@@ -117,8 +117,8 @@ export const Route = createFileRoute('/_auth/dashboard/investigations/$investiga
<h2 className="text-xl font-semibold text-foreground mb-2">Oops! Something went wrong</h2>
<p className="text-muted-foreground mb-6 text-sm leading-relaxed">
- We couldn't load this investigation page. This might be due to a network issue, invalid
- investigation ID, or the resource may not exist.
+ We couldn&apos;t load this investigation page. This might be due to a network issue,
+ invalid investigation ID, or the resource may not exist.
</p>
<div className="space-y-3">
diff --git a/flowsint-app/src/routes/login.tsx b/flowsint-app/src/routes/login.tsx
index 19fd8119..eeed8abe 100644
--- a/flowsint-app/src/routes/login.tsx
+++ b/flowsint-app/src/routes/login.tsx
@@ -140,7 +140,7 @@ function Login() {
{/* Link to registration */}
<div className="text-center mt-4">
<p className="text-sm text-gray-600">
- Don't have an account?{' '}
+ Don&apos;t have an account?{' '}
<Link to="/register" className="font-medium text-primary">
Create an account
</Link>
diff --git a/flowsint-app/src/stores/graph-settings-store.ts b/flowsint-app/src/stores/graph-settings-store.ts
index 561f2af2..38ae3e28 100644
--- a/flowsint-app/src/stores/graph-settings-store.ts
+++ b/flowsint-app/src/stores/graph-settings-store.ts
@@ -471,7 +471,7 @@ export const useGraphSettingsStore = create<GraphGeneralSettingsStore>()(
getCategorySettings: (category: string) => {
const categorySettings: Record<string, any> = {}
- // @ts-ignore
+ // @ts-expect-error indexing the settings schema with a runtime string key
const settings = get().settings[category]
if (settings) {
Object.entries(settings as Record<string, any>).forEach(([key, setting]) => {