mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-28 16:54:04 +08:00
copying default snap
This commit is contained in:
parent
3601565c91
commit
c11a6dbbc3
1 changed files with 1 additions and 1 deletions
|
@ -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") {
|
||||
|
|
Loading…
Reference in a new issue