This commit is contained in:
Qing
2023-12-30 23:36:44 +08:00
parent 85c3397b97
commit c4abda3942
35 changed files with 969 additions and 854 deletions

View File

@@ -491,10 +491,6 @@ export const useStore = createWithEqualityFn<AppState & AppAction>()(
paintByExampleFile
)
if (!res) {
throw new Error("Something went wrong on server side.")
}
const { blob, seed } = res
if (seed) {
get().setSeed(parseInt(seed, 10))