feat(status): make the set-status menu work
feat(user): optimise get() function for react qol(todos): update todos
This commit is contained in:
parent
dbb407606b
commit
1c90a0c859
30 changed files with 572 additions and 324 deletions
|
|
@ -4,7 +4,20 @@ import { Text } from "@methanium/ui/markdown";
|
|||
import { ChevronDown, ChevronUp } from "lucide-react";
|
||||
import { useState } from "react";
|
||||
|
||||
export default function Profile({ user }: { user: User }) {
|
||||
export default function Profile({
|
||||
user,
|
||||
}: {
|
||||
user: Pick<
|
||||
User,
|
||||
| "UserId"
|
||||
| "Display"
|
||||
| "Username"
|
||||
| "Avatar"
|
||||
| "About"
|
||||
| "IotaId"
|
||||
| "PublicKey"
|
||||
>;
|
||||
}) {
|
||||
const [showAdvancedInformation, setShowAdvancedInformation] = useState(false);
|
||||
|
||||
return (
|
||||
|
|
|
|||
Loading…
Reference in a new issue