X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/64b25cb874d430f23d169606265c9534a52bdc6c..e4f350462118a86831f92eb375c2bc89cbf85920:/src/store/snackbar/snackbar-actions.ts diff --git a/src/store/snackbar/snackbar-actions.ts b/src/store/snackbar/snackbar-actions.ts index e11d26d3..7b6f2efd 100644 --- a/src/store/snackbar/snackbar-actions.ts +++ b/src/store/snackbar/snackbar-actions.ts @@ -2,7 +2,7 @@ // // SPDX-License-Identifier: AGPL-3.0 -import { unionize, ofType, UnionOf } from "~/common/unionize"; +import { unionize, ofType, UnionOf } from "common/unionize"; export interface SnackbarMessage { message: string; @@ -20,7 +20,7 @@ export enum SnackbarKind { export const snackbarActions = unionize({ OPEN_SNACKBAR: ofType<{message: string; hideDuration?: number, kind?: SnackbarKind, link?: string}>(), - CLOSE_SNACKBAR: ofType<{}>(), + CLOSE_SNACKBAR: ofType<{}|null>(), SHIFT_MESSAGES: ofType<{}>() });