summaryrefslogtreecommitdiffstats
path: root/web/gui/v2/6817.a41c740ef4ad290ddc09.chunk.js
blob: 86fba03801dd51001d312d448c5361bfdbaacc3f (plain)
1
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="4cc2c13d-5329-4eab-85b9-9fd52ba5296a",e._sentryDebugIdIdentifier="sentry-dbid-4cc2c13d-5329-4eab-85b9-9fd52ba5296a")}catch(e){}}();var _global="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:{};_global.SENTRY_RELEASE={id:"6845f9ce010d5a446e5d4a40f17204cb8341a07a"},(self.webpackChunkcloud_frontend=self.webpackChunkcloud_frontend||[]).push([[6817],{76817:function(e,n,d){d.r(n),d.d(n,{AuthTokenCallback:function(){return f}});var t=d(67294),o=d(58591),f=function(){var e=(0,o.np)("redirect_uri"),n=(0,o.np)("token");return(0,t.useEffect)((function(){e&&n&&(localStorage.setItem("netdataJWT",n),location.href=decodeURIComponent(e))}),[]),null};n.default=f}}]);