Skip to content

Commit

Permalink
fix storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
daibhin committed Feb 14, 2024
1 parent 6130a6b commit 10068b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .storybook/app-context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export const getStorybookAppContext = (): AppContext => ({
current_user: undefined as any, // undefined triggers a fetch and lets us mock the data
default_event_name: '$pageview',
persisted_feature_flags: [],
commit_sha: undefined,
preflight: null as any, // null triggers a fetch and lets us mock the data
switched_team: null,
})
2 changes: 1 addition & 1 deletion frontend/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2924,7 +2924,7 @@ export interface AppContext {
persisted_feature_flags?: string[]
anonymous: boolean
frontend_apps?: Record<number, FrontendAppConfig>
commit_sha: string
commit_sha?: string
/** Whether the user was autoswitched to the current item's team. */
switched_team: TeamType['id'] | null
year_in_hog_url?: string
Expand Down

0 comments on commit 10068b0

Please sign in to comment.