1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-05 22:00:05 +00:00

fix(web): click to copy + notification

This commit is contained in:
Saad Jutt
2022-05-23 20:29:29 +05:00
parent 80b33c7a18
commit f37f8e95d1
4 changed files with 115 additions and 5 deletions

View File

@@ -24,7 +24,9 @@ const Header = (props: any) => {
const history = useHistory()
const { pathname } = useLocation()
const appContext = useContext(AppContext)
const [tabValue, setTabValue] = useState(pathname)
const [tabValue, setTabValue] = useState(
pathname === '/SASjsLogon' ? '/' : pathname
)
const [anchorEl, setAnchorEl] = useState<
(EventTarget & HTMLButtonElement) | null
>(null)