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
2 changes: 2 additions & 0 deletions frontend/src/app/components/app-ready.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ export function AppReadyEffect() {
if (frame !== null) {
cancelAnimationFrame(frame)
}

resetReady(appElement)

Choose a reason for hiding this comment

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

P0 Badge Fix resetReady invocation argument mismatch

resetReady is defined without parameters but the cleanup calls it as resetReady(appElement). With TypeScript's strict function arity checking this yields “Expected 0 arguments, but got 1” and the component fails to compile, preventing the build. Call the helper with no arguments or accept the element parameter.

Useful? React with 👍 / 👎.

}
}, [])

Expand Down
Loading