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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 57 additions and 49 deletions

View file

@ -27,7 +27,7 @@ import { Modal } from './Modal';
import { PanelRow } from './conversation/conversation-details/PanelRow';
import type { ProfileDataType } from '../state/ducks/conversations';
import { UsernameEditState } from '../state/ducks/usernameEnums';
import { ToastType } from '../state/ducks/toast';
import { ToastType } from '../types/Toast';
import type { ShowToastActionCreatorType } from '../state/ducks/toast';
import { getEmojiData, unifiedToEmoji } from './emoji/lib';
import { assertDev } from '../util/assert';