mirror of
https://github.com/bubblecup-12/VogelSocialMedia.git
synced 2025-07-08 21:48:48 +00:00
get user from database
This commit is contained in:
parent
c3695b240f
commit
0c0c8f382f
4 changed files with 3 additions and 6 deletions
|
@ -6,8 +6,8 @@ import "./bio.css";
|
|||
import "../styles/colors.css";
|
||||
import IconButton from "@mui/material/IconButton";
|
||||
import EditSquareIcon from "@mui/icons-material/EditSquare";
|
||||
import ButtonPrimary from "./ButtonRotkehlchen";
|
||||
import api from "../api/axios";
|
||||
import ButtonPrimary from "../ButtonRotkehlchen";
|
||||
import api from "../../api/axios";
|
||||
|
||||
export default function BioTextField({ ownAccount, bioText, setBio } : { ownAccount: boolean, bioText: string | undefined, setBio: (bio: string) => void }) {
|
||||
const [oldBio, setOldbio] = useState<string>(bioText || "");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue