-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Unsubscribed groups page (#18849)
- Loading branch information
1 parent
6e51b92
commit 4c76462
Showing
5 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 37 additions & 0 deletions
37
frontend/src/scenes/persons-management/PersonsManagementScene.stories.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
import { Meta, StoryFn } from '@storybook/react' | ||
import { router } from 'kea-router' | ||
import { useEffect } from 'react' | ||
import { App } from 'scenes/App' | ||
import { urls } from 'scenes/urls' | ||
|
||
const meta: Meta = { | ||
title: 'Scenes-App/Persons & Groups', | ||
parameters: { | ||
layout: 'fullscreen', | ||
viewMode: 'story', | ||
mockDate: '2023-07-04', // To stabilize relative dates | ||
}, | ||
decorators: [], | ||
} | ||
export default meta | ||
|
||
export const Persons: StoryFn = () => { | ||
useEffect(() => { | ||
router.actions.push(urls.persons()) | ||
}, []) | ||
return <App /> | ||
} | ||
|
||
export const Cohorts: StoryFn = () => { | ||
useEffect(() => { | ||
router.actions.push(urls.cohorts()) | ||
}, []) | ||
return <App /> | ||
} | ||
|
||
export const Groups: StoryFn = () => { | ||
useEffect(() => { | ||
router.actions.push(urls.groups(0)) | ||
}, []) | ||
return <App /> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters