dsql-admin/dsql-app/.local_dist/static/chunks/pages/admin-49478fe846117a0e.js

1 line
898 B
JavaScript
Raw Normal View History

2024-12-05 07:03:33 +00:00
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6309],{39943:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin",function(){return a(76902)}])},76902:(e,t,a)=>{"use strict";a.r(t),a.d(t,{DashboardContext:()=>l,__N_SSP:()=>i,default:()=>_});var r=a(74848),s=a(96540),n=a(51187),u=a(75849),d=a(47652),i=!0;let l=s.createContext({});function _(e){let{user:t,databases:a,metrics:i}=e,_=(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"})]}),[o,c]=s.useState(null);return(0,r.jsx)(n.A,{head:_,user:t,children:(0,r.jsxs)(l.Provider,{value:{user:t,databases:a,targetDatabase:o,setTargetDatabase:c,metrics:i},children:[(0,r.jsx)(u.A,{}),(0,r.jsx)(d.A,{targetDatabase:o})]})})}}},e=>{var t=t=>e(e.s=t);e.O(0,[9799,8866,7538,820,636,6593,8792],()=>t(39943)),_N_E=e.O()}]);