Spaces:
Paused
Paused
Commit
β’
829f152
1
Parent(s):
45db59c
fix bad bug
Browse files- src/app/page.tsx +1 -1
src/app/page.tsx
CHANGED
@@ -12,7 +12,7 @@ export default function Index() {
|
|
12 |
if (uuid) {
|
13 |
window.location.href = `/studio/${uuid}`
|
14 |
} else {
|
15 |
-
const existingUuid = `${localStorage.getItem(key)
|
16 |
if (existingUuid?.length > 10) {
|
17 |
setUuid(existingUuid)
|
18 |
} else {
|
|
|
12 |
if (uuid) {
|
13 |
window.location.href = `/studio/${uuid}`
|
14 |
} else {
|
15 |
+
const existingUuid = `${localStorage.getItem(key) || ""}`
|
16 |
if (existingUuid?.length > 10) {
|
17 |
setUuid(existingUuid)
|
18 |
} else {
|