mirror of
https://example.com
synced 2024-11-24 06:26:39 +09:00
linting
This commit is contained in:
parent
c31d7133e6
commit
a220833a61
1 changed files with 4 additions and 4 deletions
|
@ -2,14 +2,14 @@
|
|||
<XModalWindow
|
||||
ref="dialog"
|
||||
:width="400"
|
||||
@close="dialog.close()"
|
||||
@close="dialog!.close()"
|
||||
@closed="$emit('closed')"
|
||||
>
|
||||
<template #header>{{ i18n.ts.signup }}</template>
|
||||
|
||||
<div class="_monolithic_">
|
||||
<div class="_section">
|
||||
<XSignup :auto-set="autoSet" @signup="onSignup" @signupEmailPending="onSignupEmailPending"/>
|
||||
<XSignup :auto-set="autoSet" @signup="onSignup" @signup-email-pending="onSignupEmailPending"/>
|
||||
</div>
|
||||
</div>
|
||||
</XModalWindow>
|
||||
|
@ -36,10 +36,10 @@ const dialog = $ref<InstanceType<typeof XModalWindow>>();
|
|||
|
||||
function onSignup(res) {
|
||||
emit('done', res);
|
||||
dialog.close();
|
||||
dialog?.close();
|
||||
}
|
||||
|
||||
function onSignupEmailPending() {
|
||||
dialog.close();
|
||||
dialog?.close();
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Reference in a new issue