0
0
Fork 0
This commit is contained in:
Xeltica 2022-06-09 12:20:13 +09:00
parent a77a4008e6
commit 2301fe5eff
32 changed files with 547 additions and 400 deletions

View file

@ -5,6 +5,6 @@ import { Skeleton } from './Skeleton';
export const CurrentUser: React.VFC = () => {
const {data} = useGetSessionQuery(undefined);
return data ? (
<h1 className="text-125"><i className="bi-person"></i> {data.username}<span className="text-dimmed">@{data.host}</span></h1>
<h1 className="text-125"><i className="fas fa-users"></i> {data.username}<span className="text-dimmed">@{data.host}</span></h1>
) : <Skeleton height="1.5rem" />;
};