mirror of
https://github.com/luxfi/safe-wallet.git
synced 2026-11-03 10:22:58 +00:00
* fix: add missing HnQueueAssessmentProvider to Storybook mock context The Queue stories page was failing in Chromatic with the error: "useHnQueueAssessment must be used within a HnQueueAssessmentProvider" This commit adds a mock QueueAssessmentContext.Provider to MockContextProvider with no-op implementations, allowing Queue stories to render without errors. The mock avoids pulling in complex hooks (useSafeInfo, useThreatAnalysisHypernativeBatch) that would require additional mocking. * fix: add Redux provider to myAccounts Storybook stories - Add withMockProvider decorator to 4 story files to fix reduxContext errors - Move CLAUDE.storybook.md to .storybook/AGENTS.md for better organization - Add @/storybook/* TypeScript path alias for clean imports - Update AGENTS.md with Redux provider pattern documentation Fixes Chromatic failures in NonPinnedWarning, PinnedSafes, SafeSelectionModal, and SimilarityConfirmDialog stories. --------- Co-authored-by: Hanzo Dev <[email protected]>