Browse Source

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

pull/5307/head
Wing-Kam Wong 2 years ago
parent
commit
855d8a2df4
  1. 4
      packages/nc-gui/middleware/auth.global.ts

4
packages/nc-gui/middleware/auth.global.ts

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

Loading…
Cancel
Save