diff --git a/src/pages/Profile/components/SettingsModal/SettingsModal.module.css b/src/pages/Profile/components/SettingsModal/SettingsModal.module.css index 3589449..24a6246 100644 --- a/src/pages/Profile/components/SettingsModal/SettingsModal.module.css +++ b/src/pages/Profile/components/SettingsModal/SettingsModal.module.css @@ -2,6 +2,8 @@ width: 100%; display: flex; flex-direction: column; + padding: 10px 20px 10px 20px; + gap: 20px; } @@ -55,13 +57,6 @@ } @media (min-width: 640px) { - .content { - gap: 32px; - } - - .section { - } - .submitBtn { width: auto; } @@ -69,22 +64,4 @@ .section button { width: fit-content; } -<<<<<<< Updated upstream -} - -@media (min-width: 900px) { - .content { - padding: 36px; - gap: 36px; - } - - .section { - } - - .modifyIcon { - height: 30px; - width: 30px; - } -======= ->>>>>>> Stashed changes } \ No newline at end of file diff --git a/src/utils/getXSRF.ts b/src/utils/getXSRF.ts index f96606d..c7b8048 100644 --- a/src/utils/getXSRF.ts +++ b/src/utils/getXSRF.ts @@ -1,23 +1,3 @@ -/*export default async function getXSRFToken() { - const response = await fetch(`${import.meta.env.VITE_API_URL}/sanctum/csrf-cookie`, { - method: 'GET', - credentials: 'include' - }); - - if (!response.ok && response.status !== 204) { - throw new Error(`Error : ${response.status}`); - } - - const name = 'XSRF-TOKEN'; - const value = `; ${document.cookie}`; - const parts = value.split(`; ${name}=`); - if (parts.length === 2) { - return decodeURIComponent(parts.pop().split(';').shift()); - } - - throw new Error('Error: Invalid XSRF-TOKEN'); -}*/ - export default async function getXSRFToken(): Promise { const response = await fetch(`${import.meta.env.VITE_API_URL}/sanctum/csrf-cookie`, { method: 'GET',