ignore: fix session activation after creation to ensure proper state management
This commit is contained in:
parent
82249754e7
commit
18e549a474
1 changed files with 1 additions and 1 deletions
|
|
@ -167,7 +167,6 @@ export default function Page() {
|
||||||
session = created.data ?? undefined
|
session = created.data ?? undefined
|
||||||
}
|
}
|
||||||
if (!session) return
|
if (!session) return
|
||||||
local.session.setActive(session.id)
|
|
||||||
|
|
||||||
interface SubmissionAttachment {
|
interface SubmissionAttachment {
|
||||||
path: string
|
path: string
|
||||||
|
|
@ -262,6 +261,7 @@ export default function Page() {
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
local.session.setActive(session.id)
|
||||||
}
|
}
|
||||||
|
|
||||||
const handleNewSession = () => {
|
const handleNewSession = () => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue