fix(nc-gui): type 'unknown' is not assignable to type 'Error'

This commit is contained in:
Wing-Kam Wong
2023-03-16 14:10:07 +08:00
parent c7de4dcb47
commit 36e3ff33a6
12 changed files with 22 additions and 22 deletions

View File

@@ -153,7 +153,7 @@ const copyInviteUrl = async (user: User) => {
// Invite URL copied to clipboard
message.success(t('msg.success.inviteURLCopied'))
} catch (e) {
} catch (e: any) {
message.error(e.message)
}
$e('c:user:copy-url')