Skip to content

Commit

Permalink
fix: do not export PromptDialog and FormDialog
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinCupela committed Nov 1, 2024
1 parent 235c636 commit 42fb767
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/components/Dialog/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@ export * from './DialogAnchor';
export * from './DialogManager';
export * from './DialogPortal';
export * from './hooks';
export * from './FormDialog';
export * from './PromptDialog';
2 changes: 1 addition & 1 deletion src/components/Poll/PollActions/AddCommentForm.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { FormDialog } from '../../Dialog';
import { FormDialog } from '../../Dialog/FormDialog';
import { useStateStore } from '../../../store';
import { usePollContext, useTranslationContext } from '../../../context';
import type { PollAnswer, PollState } from 'stream-chat';
Expand Down
2 changes: 1 addition & 1 deletion src/components/Poll/PollActions/EndPollDialog.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { PromptDialog } from '../../Dialog';
import { PromptDialog } from '../../Dialog/PromptDialog';
import React from 'react';
import { useTranslationContext } from '../../../context';
import { usePoll } from '../hooks';
Expand Down
2 changes: 1 addition & 1 deletion src/components/Poll/PollActions/SuggestPollOptionForm.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { FormDialog } from '../../Dialog';
import React from 'react';
import { usePoll } from '../hooks';
import { FormDialog } from '../../Dialog/FormDialog';
import { useStateStore } from '../../../store';
import { useChatContext, useTranslationContext } from '../../../context';
import type { PollOption, PollState } from 'stream-chat';
Expand Down

0 comments on commit 42fb767

Please sign in to comment.