feat: implement change password

This commit is contained in:
Aaron William Po
2023-05-28 20:05:00 -04:00
parent d06415c924
commit f4e6a307f2
10 changed files with 265 additions and 2 deletions

View File

@@ -6,6 +6,7 @@ import Head from 'next/head';
import AccountInfo from '@/components/Account/AccountInfo';
import { useContext } from 'react';
import UserContext from '@/contexts/UserContext';
import Security from '@/components/Account/Security';
const AccountPage: NextPage = () => {
const { user } = useContext(UserContext);
@@ -50,7 +51,10 @@ const AccountPage: NextPage = () => {
<Tab.Panel>
<AccountInfo />
</Tab.Panel>
<Tab.Panel>Content 3</Tab.Panel>
<Tab.Panel>
<Security />
</Tab.Panel>
<Tab.Panel>Your posts!</Tab.Panel>
</Tab.Panels>
</Tab.Group>
</div>