diff --git a/studio/pages/account/me.tsx b/studio/pages/account/me.tsx index 3a3190a7cc5..b1067eec40a 100644 --- a/studio/pages/account/me.tsx +++ b/studio/pages/account/me.tsx @@ -1,6 +1,6 @@ import React from 'react' import { observer } from 'mobx-react-lite' -import { IconMoon, IconSun, Select, Typography } from '@supabase/ui' +import { IconMoon, IconSun, Select, Typography, Input } from '@supabase/ui' import { useProfile, useStore, withAuth } from 'hooks' import { post } from 'lib/common/fetch' @@ -32,8 +32,10 @@ export default withAuth(User) const ProfileCard = observer(() => { const { ui } = useStore() const { mutateProfile } = useProfile() - const user = ui.profile + + console.log('User', user?.username, user?.primary_email) + const updateUser = async (model: any) => { try { const updatedUser = await post(`${API_URL}/profile/update`, model) @@ -51,6 +53,9 @@ const ProfileCard = observer(() => { return (
+
+ +
{/* @ts-ignore */} { ) }) +const GithubProfile = observer(() => { + const { ui } = useStore() + + return ( + + Account Information + , + ]} + > + +
+ + +
+
+
+ ) +}) + const ThemeSettings = observer(() => { const { ui } = useStore()