Skip to content

Commit

Permalink
export states
Browse files Browse the repository at this point in the history
  • Loading branch information
imorland committed Feb 21, 2024
1 parent 87e4d48 commit 0d78029
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions js/src/forum/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import addNavItem from './addNavItem';

export * from './components';
export * from './models';
export * from './states';

app.initializers.add('fof/polls', () => {
addDiscussionBadge();
Expand Down
9 changes: 9 additions & 0 deletions js/src/forum/states/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import PollFormState from './PollFormState';
import PollListState from './PollListState';
import PollState from './PollState';

export const states = {
PollFormState,
PollListState,
PollState,
};

0 comments on commit 0d78029

Please sign in to comment.