Merge remote-tracking branch 'origin/main' into 19311-Project-Search-field-auto-clears
[arvados-workbench2.git] / src / store / snackbar / snackbar-actions.ts
index e11d26d36e967ac3e38ab67defffa6bf7c57d41c..7b6f2efd150e1d8e3170fb0e8017a3b4370b2f03 100644 (file)
@@ -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<{}>()
 });