copying default snap

This commit is contained in:
Miodec 2023-03-22 22:06:28 +01:00
parent 3601565c91
commit c11a6dbbc3

View file

@ -42,7 +42,7 @@ export async function initSnapshot(): Promise<
MonkeyTypes.Snapshot | number | boolean
> {
//send api request with token that returns tags, presets, and data needed for snap
const snap = defaultSnap;
const snap = { ...defaultSnap };
try {
if (!Auth?.currentUser) return false;
// if (ActivePage.get() == "loading") {