mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-29 00:16:39 +01:00
show logged in user
This commit is contained in:
@@ -7,8 +7,10 @@ import EmptyState from "components/EmptyState";
|
||||
|
||||
import WIKI_LINKS from "constants/wikiLinks";
|
||||
import routes from "constants/routes";
|
||||
import { useAppContext } from "@src/contexts/AppContext";
|
||||
|
||||
export default function AccessDenied() {
|
||||
const { currentUser } = useAppContext();
|
||||
return (
|
||||
<EmptyState
|
||||
fullScreen
|
||||
@@ -16,6 +18,9 @@ export default function AccessDenied() {
|
||||
message="Access Denied"
|
||||
description={
|
||||
<>
|
||||
<Typography>
|
||||
You are currently signed in as {currentUser?.email}
|
||||
</Typography>
|
||||
<Typography>
|
||||
You do not have access to this project. Please contact the project
|
||||
owner.
|
||||
|
||||
Reference in New Issue
Block a user