Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions frontend/app/results/page.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
'use client';
export const dynamic = 'force-dynamic';
Comment on lines 1 to +2
Copy link

Copilot AI Apr 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

output: "export" is used for ELECTRON_BUILD (static export to local files). Marking this route dynamic = 'force-dynamic' makes it require runtime rendering, which typically isn't supported in static export and can still fail the build or produce a route that can’t be loaded directly from out/. Prefer keeping the page exportable (e.g., avoid useSearchParams() at render time by reading window.location.search in an effect / state, or move the search-param-dependent UI into a next/dynamic(..., { ssr: false }) client-only component) so next build can prerender a static shell.

Copilot uses AI. Check for mistakes.

Comment on lines 1 to 3
Copy link

Copilot AI Apr 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file now contains a second 'use client'; later (after the header comment). Only the first directive at the very top has any effect; the later one is just an unused string expression and can be removed to avoid confusion/lint noise.

Copilot uses AI. Check for mistakes.
/**
* Results Page — displays audit findings with plain-language explanations.
Expand Down
Loading