Skip to content

Commit

Permalink
test: 스토리북 LocalStorage의 clubId 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
lurgi committed Oct 7, 2024
1 parent 1861d0c commit 790165b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/.storybook/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const preview: Preview = {
loaders: [mswLoader],
decorators: [
(Story) => {
localStorage.setItem('clubId', '1');
return (
<ModalProvider>
<QueryClientProvider client={new QueryClient()}>
Expand Down

0 comments on commit 790165b

Please sign in to comment.