Move ToastType to its own file to avoid importing electron in storybooks
This commit is contained in:
parent
daf66f33da
commit
15efbde23d
18 changed files with 57 additions and 49 deletions
|
@ -7,7 +7,7 @@ import React from 'react';
|
|||
import type { PropsType } from './ToastManager';
|
||||
import enMessages from '../../_locales/en/messages.json';
|
||||
import { ToastManager } from './ToastManager';
|
||||
import { ToastType } from '../state/ducks/toast';
|
||||
import { ToastType } from '../types/Toast';
|
||||
import { setupI18n } from '../util/setupI18n';
|
||||
|
||||
const i18n = setupI18n('en', enMessages);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue