dsql-admin/dsql-app/.local_dist/static/chunks/pages/admin-efa0744f5c14dc87.js
Benjamin Toby a7dfd48284 Updates
2024-12-09 10:39:09 +01:00

1 line
884 B
JavaScript

(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6309],{9943:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin",function(){return a(6902)}])},6902:(e,t,a)=>{"use strict";a.r(t),a.d(t,{DashboardContext:()=>l,__N_SSP:()=>i,default:()=>_});var r=a(4848),s=a(6540),n=a(1187),u=a(5849),d=a(7652),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,3616,820,636,6593,8792],()=>t(9943)),_N_E=e.O()}]);