{this.state.error.toString()}
-Get started by sending us a sample error:
-- Next, look for the error on the{" "} - Issues Page. -
-- For more information, see{" "} - - https://docs.sentry.io/platforms/javascript/guides/nextjs/ - -
-Get started by sending us a sample error:
-- Next, look for the error on the{" "} - Issues Page. -
-- For more information, see{" "} - - https://docs.sentry.io/platforms/javascript/guides/nextjs/ - -
-Something went wrong:
-{error.message}-
- {String(message)}
-
- )
-}
-
-
-export default dynamic(() => Promise.resolve(Page), {
- ssr: true,
-});
-
-function Page() {
- const router = useRouter();
- const [refreshToken, setRefreshToken] = useState(Math.random());
- const [rev, setRev] = useState(0);
-
- let format = 'default';
-
- if (router.query.format) {
- format = router.query.format;
- }
-
- let source = null;
- let location = null;
- if (router.query.parms && router.query.parms.length > 1) {
- source = router.query.parms[0];
- location = router.query.parms.slice(1).join('/');
- }
-
- const defaultValue = `
- # No Content Loaded
- `;
-
- const [state, setConfig] = useMdx({
- gfm: true,
- frontmatter: true,
- math: false,
- unwrapImages: true,
- value: defaultValue
- })
-
- const mdxContent = (format, mdx, pageParms) => {
- // // // console.log('pageParms: ', pageParms)
- if (pageParms && pageParms.parms) { delete pageParms.parms };
- const { content, data } = matter(mdx);
- let frontmatter = { ...data, ...pageParms };
- if (format === 'ppt') {
- mdx = 'Something went wrong:
-{error.message}-
- {String(message)}
-
- )
-}
-
-
-
-function createControlMenu(controls) {
- // // console.log('createControlMenu:controls: ', controls)
- try {
- const links = controls.map((control) => {
- const label = control.data.id || ''; // Adjust the property name according to your control data structure
- const url = control.file;
-
- return {
- label,
- url,
- };
- });
-
- return [
- {
- groupTitle: "Controls",
- links: links
- }];
- } catch (error) {
- // // console.log('createControlMenu:error: ', error)
-
- return [
- {
- groupTitle: "Controls",
- links: [
- {
- label: "CONTROL-00000",
- url: "",
- },
- ],
- }]
-
- return [
- {
- groupTitle: "Controls",
- links: []
- }];
- }
-};
-
-
-export default dynamic(() => Promise.resolve(Page), {
- ssr: false,
-});
-
-
-
-function Page({ content, controls, type, menu, frontmatter }) {
-
- // // // console.log('Page:menu: ', menu)
- const router = useRouter();
- const context = { source: 'local', router: router }
-
- if (type === 'service') {
- return (
- + Source:{' '} + + {doc.metadata.url} + +
+Something went wrong:
-{error.message}-
- {String(message)}
-
- )
-}
-
-
-export default dynamic(() => Promise.resolve(Page), {
- ssr: true,
-});
-
-function Page() {
- const router = useRouter();
- const [refreshToken, setRefreshToken] = useState(Math.random());
- const [rev, setRev] = useState(0);
-
- let format = 'default';
-
- if (router.query.format) {
- format = router.query.format;
- }
-
- let source = null;
- let location = null;
- if (router.query.parms && router.query.parms.length > 1) {
- source = router.query.parms[0];
- location = router.query.parms.slice(1).join('/');
- }
-
- const defaultValue = `
- # No Content Loaded
- `;
-
- const [state, setConfig] = useMdx({
- gfm: true,
- frontmatter: true,
- math: false,
- unwrapImages: true,
- value: defaultValue
- })
-
- const mdxContent = (format, mdx, pageParms) => {
- // // // console.log('pageParms: ', pageParms)
- if (pageParms && pageParms.parms) { delete pageParms.parms };
- const { content, data } = matter(mdx);
- let frontmatter = { ...data, ...pageParms };
- if (format === 'ppt') {
- mdx = '