1 |
- {"version":3,"file":"LiveStatusPage.b936e4df420f44834784.js","mappings":"6IAOO,MAAMA,EAAeC,IAC1B,MAAMC,GAAWC,EAAAA,EAAAA,cAAaC,GAAsBA,EAAMF,WAC1D,OAAOG,EAAAA,EAAAA,GAAYH,EAAUD,K,6FCJhB,SAASK,IACtB,MAAMC,GAAWP,EAAAA,EAAAA,GAAY,eAE7B,OACE,SAAC,IAAD,CAAMO,SAAUA,EAAhB,gBACE,SAAC,aAAD","sources":["webpack://grafana/./public/app/core/hooks/useNavModel.ts","webpack://grafana/./public/app/features/live/pages/LiveStatusPage.tsx"],"sourcesContent":["import { useSelector } from 'react-redux';\n\nimport { NavModel } from '@grafana/data';\nimport { StoreState } from 'app/types/store';\n\nimport { getNavModel } from '../selectors/navModel';\n\nexport const useNavModel = (id: string): NavModel => {\n const navIndex = useSelector((state: StoreState) => state.navIndex);\n return getNavModel(navIndex, id);\n};\n","import React from 'react';\n\nimport Page from 'app/core/components/Page/Page';\nimport { useNavModel } from 'app/core/hooks/useNavModel';\n\nexport default function CloudAdminPage() {\n const navModel = useNavModel('live-status');\n\n return (\n <Page navModel={navModel}>\n <Page.Contents>Live/Live/Live</Page.Contents>\n </Page>\n );\n}\n"],"names":["useNavModel","id","navIndex","useSelector","state","getNavModel","CloudAdminPage","navModel"],"sourceRoot":""}
|