Skip to content

Commit

Permalink
fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
g-saracca committed Sep 6, 2024
1 parent 8424961 commit 24a6b6b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/stories/WithLoggedInSuperUser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ export const WithLoggedInSuperUser = (Story: StoryFn) => {
value={{
user: UserMother.createSuperUser(),
logout: () => Promise.resolve(),
setUser: () => {}
setUser: () => {},
isLoadingUser: false
}}>
<Story />
</SessionContext.Provider>
Expand Down
7 changes: 6 additions & 1 deletion src/stories/WithLoggedInUser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@ import { UserMother } from '../../tests/component/users/domain/models/UserMother
export const WithLoggedInUser = (Story: StoryFn) => {
return (
<SessionContext.Provider
value={{ user: UserMother.create(), logout: () => Promise.resolve(), setUser: () => {} }}>
value={{
user: UserMother.create(),
logout: () => Promise.resolve(),
setUser: () => {},
isLoadingUser: false
}}>
<Story />
</SessionContext.Provider>
)
Expand Down

0 comments on commit 24a6b6b

Please sign in to comment.