mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-03 06:17:04 +02:00
Renames SnackbarVariant to ToastVariant, adds enum to ns
This commit is contained in:
@@ -11,7 +11,7 @@ import { StyleEditorButton } from "./StyleEditorButton";
|
||||
import { ThemeEntry } from "./ThemeEntry";
|
||||
import { ThemeCollaborate } from "./ThemeCollaborate";
|
||||
import { Modal } from "../../ui/React/Modal";
|
||||
import { SnackbarEvents, SnackbarVariant } from "../../ui/React/Snackbar";
|
||||
import { SnackbarEvents, ToastVariant } from "../../ui/React/Snackbar";
|
||||
|
||||
interface IProps {
|
||||
router: IRouter;
|
||||
@@ -54,7 +54,7 @@ export function ThemeBrowser({ router }: IProps): React.ReactElement {
|
||||
UNDO
|
||||
</Button>
|
||||
</>,
|
||||
SnackbarVariant.INFO,
|
||||
ToastVariant.INFO,
|
||||
30000,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user