You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: extract duplicated ViewSwitcher callbacks into reusable handlers
Address code review feedback:
- Extract onCreateView and onViewAction into handleCreateView/handleViewAction
- Replace `any` type with `{ id: string; type: string }` in view matching
- Both PluginObjectView instances now reference the extracted callbacks
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
0 commit comments