Move ToastType to its own file to avoid importing electron in storybooks

This commit is contained in:
Jamie Kyle
2022-12-14 16:48:36 -08:00
committed by GitHub
parent daf66f33da
commit 15efbde23d
18 changed files with 57 additions and 49 deletions

View File

@@ -33,7 +33,8 @@ import {
} from './linkPreviews';
import { LinkPreviewSourceType } from '../../types/LinkPreview';
import { RecordingState } from './audioRecorder';
import { SHOW_TOAST, ToastType } from './toast';
import { SHOW_TOAST } from './toast';
import { ToastType } from '../../types/Toast';
import { SafetyNumberChangeSource } from '../../components/SafetyNumberChangeDialog';
import { UUID } from '../../types/UUID';
import { assignWithNoUnnecessaryAllocation } from '../../util/assignWithNoUnnecessaryAllocation';