refactor: use code block to display the user

This commit is contained in:
Stavros
2025-01-19 23:01:49 +02:00
parent d0c1aae1e7
commit 4f4645f32b

View File

@@ -1,4 +1,4 @@
import { Button, Paper, Text } from "@mantine/core"; import { Button, Code, Paper, Text } from "@mantine/core";
import { notifications } from "@mantine/notifications"; import { notifications } from "@mantine/notifications";
import { useMutation } from "@tanstack/react-query"; import { useMutation } from "@tanstack/react-query";
import axios from "axios"; import axios from "axios";
@@ -43,8 +43,8 @@ export const LogoutPage = () => {
Logout Logout
</Text> </Text>
<Text> <Text>
You are currently logged in as {username}, click the button below to You are currently logged in as <Code>{username}</Code>, click the
log out. button below to log out.
</Text> </Text>
<Button <Button
fullWidth fullWidth