import axios from "axios"; import baseUrl from "./baseUrl"; export const profile = async () => { const { data } = await axios.get(`${baseUrl}/profile`); return data; }; export const picture = async (formdata: FormData) => { await axios.post(`${baseUrl}/profile`, formdata); }; export const nickname = async (formdata: FormData) => { await axios.post(`${baseUrl}/profile`, formdata); };