Skip to content

fix(jac-client): add missing MouseEvent param to onToggleMode lambda#5567

Merged
marsninja merged 1 commit intojaseci-labs:mainfrom
marsninja:fix/jac-client-onToggleMode-type
Apr 16, 2026
Merged

fix(jac-client): add missing MouseEvent param to onToggleMode lambda#5567
marsninja merged 1 commit intojaseci-labs:mainfrom
marsninja:fix/jac-client-onToggleMode-type

Conversation

@marsninja
Copy link
Copy Markdown
Collaborator

Summary

  • Add _e: MouseEvent parameter to the onToggleMode lambda in the fullstack template's frontend.cl.jac to match the MouseEventHandler signature expected by AuthForm
  • Fixes E1100 type error on jac check
  • Tick small refactors count in release notes

Test plan

  • jac check jac-client/jac_client/templates/fullstack/frontend.cl.jac no longer reports E1100 on line 196

The parameterless lambda didn't match the MouseEventHandler signature
expected by the AuthForm component, causing E1100 on jac check.
@marsninja marsninja enabled auto-merge (squash) April 16, 2026 04:04
@marsninja marsninja merged commit a3692a0 into jaseci-labs:main Apr 16, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant