fix: Auto-refresh page on profile photo update
This commit is contained in:
parent
9711b0c926
commit
06fc962c09
@ -7,8 +7,7 @@
|
||||
async function submit(e: SubmitEvent) {
|
||||
e.preventDefault();
|
||||
if (files.length === 0) return;
|
||||
const res = await generateStream(files[0]);
|
||||
console.log(res);
|
||||
await generateStream(files[0]).then(() => window.location.reload());
|
||||
}
|
||||
</script>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user