diff --git a/src/app/me/settings/page.tsx b/src/app/me/settings/page.tsx index d96fe82..a775a34 100644 --- a/src/app/me/settings/page.tsx +++ b/src/app/me/settings/page.tsx @@ -57,7 +57,7 @@ const Page = () => { queryKey: ["userConnections"], retry: false, queryFn: async () => { - const res = await authApi.get("user/me/settings", { withCredentials: true, validateStatus: () => true }); + const res = await authApi.get("user/me/settings"); const data = res.data as SettingsResponse; setLoaded(true); return data; diff --git a/src/app/modules/adaptiveGrid.module.tsx b/src/app/modules/adaptiveGrid.module.tsx index ef7173a..94917cb 100644 --- a/src/app/modules/adaptiveGrid.module.tsx +++ b/src/app/modules/adaptiveGrid.module.tsx @@ -38,7 +38,13 @@ const AdaptiveGrid = ({ child_width, children, header }: AdaptiveGridProps) => { {header} } -
= columnCount ? 'center' : 'flex-start' }}> +
= columnCount ? 'center' : 'flex-start', + flexDirection: columnCount === 1 ? 'column' : 'row' + }}> {columns}
diff --git a/src/app/page.tsx b/src/app/page.tsx index 8c742a9..8d59b0a 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -7,9 +7,7 @@ const Home = async () => { let pong = null; try { pong = await axios.get(process.env.NEXT_PUBLIC_GLOBAL_API_URL + 'ping', { validateStatus: () => true }); - } catch (e) { - console.log(e); - } + } catch (e) { } return ( )