mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
fix: resolve Sharp 0.35.1 and BullMQ type incompatibilities after dep bumps
Sharp 0.35.1 moved FormatEnum to a namespace export and removed "avif" from FormatEnum (now a separate literal in toFormat). BullMQ 5.78.1 bundles ioredis 5.10.1 while we have 5.11.1, causing structural type mismatch. Also fixes new Biome 1.9 lint rules.
This commit is contained in:
@@ -37,10 +37,7 @@ export function AppLayout({ children, breadcrumb, navVariant }: AppLayoutProps)
|
||||
/>
|
||||
|
||||
{/* Main content area */}
|
||||
<main
|
||||
id="main-content"
|
||||
className={cn("flex-1 overflow-y-auto", isMobile && "pb-20")}
|
||||
>
|
||||
<main id="main-content" className={cn("flex-1 overflow-y-auto", isMobile && "pb-20")}>
|
||||
{children}
|
||||
</main>
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ export function recordRecentTool(toolId: string) {
|
||||
const updated = [toolId, ...current.filter((id) => id !== toolId)].slice(0, MAX_RECENT);
|
||||
localStorage.setItem(STORAGE_KEY, JSON.stringify(updated));
|
||||
cachedRaw = null;
|
||||
listeners.forEach((l) => l());
|
||||
for (const l of listeners) l();
|
||||
}
|
||||
|
||||
export function useRecentTools(): string[] {
|
||||
|
||||
Reference in New Issue
Block a user