From 33ff8c9289071ce0d5e077f0b220b13fd792768e Mon Sep 17 00:00:00 2001 From: Taylor Reece Date: Wed, 22 Oct 2025 11:41:02 -0500 Subject: [PATCH] Fix docs screenshot endpoint --- .../src/docs-layout/AppBar.tsx | 24 +++++++++---------- .../src/docs-layout/AppDrawer.tsx | 16 ++++++------- 2 files changed, 19 insertions(+), 21 deletions(-) diff --git a/example-embedded-app/src/docs-layout/AppBar.tsx b/example-embedded-app/src/docs-layout/AppBar.tsx index db35aaf..3a66702 100644 --- a/example-embedded-app/src/docs-layout/AppBar.tsx +++ b/example-embedded-app/src/docs-layout/AppBar.tsx @@ -2,7 +2,6 @@ import React, { useState } from "react"; import { alpha } from "@mui/material/styles"; import { useRouter } from "next/router"; -import Link from "next/link"; import MuiAppBar from "@mui/material/AppBar"; import Box from "@mui/material/Box"; import Toolbar from "@mui/material/Toolbar"; @@ -177,18 +176,17 @@ const AppBar: React.FC<{ open={isMenuOpen} onClose={closeMenu} > - - { - closeMenu(); - }} - > - - - - - - + { + closeMenu(); + router.push("/settings/user"); + }} + > + + + + + { diff --git a/example-embedded-app/src/docs-layout/AppDrawer.tsx b/example-embedded-app/src/docs-layout/AppDrawer.tsx index b7e7704..0134de0 100644 --- a/example-embedded-app/src/docs-layout/AppDrawer.tsx +++ b/example-embedded-app/src/docs-layout/AppDrawer.tsx @@ -98,8 +98,8 @@ const AppDrawer: React.FC<{ }} > {/* Dashboard */} - - + + @@ -128,8 +128,8 @@ const AppDrawer: React.FC<{ }, ].map((entry, i) => { return ( - - + + {entry?.icon} @@ -165,8 +165,8 @@ const AppDrawer: React.FC<{ }, ].map((entry, i) => { return ( - - + + {entry?.icon} @@ -197,8 +197,8 @@ const AppDrawer: React.FC<{ }, ].map((entry, i) => { return ( - - + + {entry?.icon}