add image connection to database

This commit is contained in:
luisa.bellitto 2025-06-27 13:55:08 +02:00 committed by Rudi Regentonne
parent 0c0c8f382f
commit ebe047037e

View file

@ -14,12 +14,12 @@ import {
import CloseIcon from "@mui/icons-material/Close"; import CloseIcon from "@mui/icons-material/Close";
import EditSquareIcon from "@mui/icons-material/EditSquare"; import EditSquareIcon from "@mui/icons-material/EditSquare";
import "./changeAvatarDialog.css"; import "./changeAvatarDialog.css";
import ButtonRotkehlchen from "./ButtonRotkehlchen"; import ButtonRotkehlchen from "../ButtonRotkehlchen";
import Username from "./Username"; import Username from "./Username";
import "./username.css"; import "./username.css";
import api from "../api/axios"; import api from "../../api/axios";
import { ChangeEvent, useState } from "react"; import { ChangeEvent, useState } from "react";
import { UserProfile } from "../types/UserProfile"; import { UserProfile } from "../../types/UserProfile";
const BootstrapDialog = styled(Dialog)(({ theme }) => ({ const BootstrapDialog = styled(Dialog)(({ theme }) => ({
"& .MuiDialogContent-root": { "& .MuiDialogContent-root": {