1 line
1017 B
JavaScript
1 line
1017 B
JavaScript
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6964],{37953:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin",function(){return a(21174)}])},21174:function(e,t,a){"use strict";a.r(t),a.d(t,{DashboardContext:function(){return _},__N_SSP:function(){return d},default:function(){return l}});var n=a(828),r=a(85893),s=a(67294),u=a(54858),i=a(37359),c=a(85012),o={},d=!0,_=s.createContext(o);function l(e){var t=e.user,a=e.databases,o=e.metrics,d=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("title",{children:"User Dashboard | Datasquirel"}),(0,r.jsx)("meta",{name:"description",content:"Welcome to your data app"})]}),l=s.useState(null),f=(0,n.Z)(l,2),h=f[0],b=f[1];return(0,r.jsx)(u.Z,{head:d,user:t,children:(0,r.jsxs)(_.Provider,{value:{user:t,databases:a,targetDatabase:h,setTargetDatabase:b,metrics:o},children:[(0,r.jsx)(i.Z,{}),(0,r.jsx)(c.Z,{targetDatabase:h})]})})}}},function(e){e.O(0,[9365,3181,5667,9774,2888,179],(function(){return t=37953,e(e.s=t);var t}));var t=e.O();_N_E=t}]); |