Skip to content

Commit

Permalink
import value to redux
Browse files Browse the repository at this point in the history
  • Loading branch information
thomassth committed Oct 24, 2024
1 parent c5ff88c commit 7df815b
Show file tree
Hide file tree
Showing 6 changed files with 551 additions and 335 deletions.
7 changes: 6 additions & 1 deletion .storybook/decorators.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@ import haiDelibTheme from '../codebases/UT-HAI/client-deliberation/src/theme'
import { Provider as ReduxProvider } from 'react-redux'
import configureStore from '../codebases/compdem/client-admin/src/store'
import { MemoryRouter } from 'react-router'
import { getAcceptedComments, getRejectedComments, getUnmoderatedComments } from './utils'

const store = configureStore()
const store = configureStore({
mod_comments_unmoderated: getUnmoderatedComments(),
mod_comments_accepted: getAcceptedComments(),
mod_comments_rejected: getRejectedComments()
})

export const withThemeUi = (Story) => (
<ThemeProvider theme={compdemAdminTheme}>
Expand Down
Loading

0 comments on commit 7df815b

Please sign in to comment.