Moves saveAttachment to a redux action

This commit is contained in:
Josh Perez 2022-12-14 13:12:04 -05:00 committed by GitHub
parent c8068cd501
commit b138774454
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
34 changed files with 190 additions and 216 deletions

View file

@ -22,10 +22,6 @@ import type {
ToastInternalError,
ToastPropsType as ToastInternalErrorPropsType,
} from '../components/ToastInternalError';
import type {
ToastFileSaved,
ToastPropsType as ToastFileSavedPropsType,
} from '../components/ToastFileSaved';
import type {
ToastFileSize,
ToastPropsType as ToastFileSizePropsType,
@ -61,10 +57,6 @@ export function showToast(
Toast: typeof ToastInternalError,
props: ToastInternalErrorPropsType
): void;
export function showToast(
Toast: typeof ToastFileSaved,
props: ToastFileSavedPropsType
): void;
export function showToast(
Toast: typeof ToastFileSize,
props: ToastFileSizePropsType