fix: uuid import broken by dep bump 🤦‍♂️

This commit is contained in:
Tom Moor
2021-04-25 12:54:06 -07:00
parent 2d22399bbc
commit 6de793e94e
10 changed files with 29 additions and 29 deletions

View File

@@ -1,7 +1,7 @@
// @flow
import { orderBy } from "lodash";
import { observable, action, autorun, computed } from "mobx";
import { v4 } from "uuid";
import { v4 as uuidv4 } from "uuid";
import { light as defaultTheme } from "shared/styles/theme";
import Collection from "models/Collection";
import Document from "models/Document";
@@ -204,7 +204,7 @@ class UiStore {
return;
}
const id = v4();
const id = uuidv4();
const createdAt = new Date().toISOString();
this.toasts.set(id, {
id,