fix(nc-gui): error any and remove content from message.error

This commit is contained in:
Wing-Kam Wong
2023-03-15 18:58:52 +08:00
parent 3c21fe47dc
commit 855d8a2df4

View File

@@ -102,8 +102,8 @@ async function tryGoogleAuth(api: Api<any>, signIn: Actions['signIn']) {
)
signIn(token)
} catch (e) {
message.error({ content: await extractSdkResponseErrorMsg(e) })
} catch (e: any) {
message.error(await extractSdkResponseErrorMsg(e))
}
const newURL = window.location.href.split('?')[0]