Skip to content

Commit

Permalink
feat(Auth): added the reset button and fix the padding of inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
Anishali2 committed Feb 16, 2024
1 parent 13eadd8 commit 886ccd3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/web/app/[locale]/team/join/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ import { AuthCodeInputField, Button, Card, Text } from 'lib/components';
import { AuthLayout } from 'lib/layout';

import { useTranslations } from 'next-intl';
import { useRef } from 'react';

const AuthPasscode = () => {
const t = useTranslations();
const inputsRef = useRef<Array<HTMLInputElement>>([]);

return (
<AuthLayout title={t('pages.auth.JOIN_TEAM')} description={t('pages.auth.INPUT_INVITE_CODE_DESC')}>
Expand All @@ -20,6 +22,7 @@ const AuthPasscode = () => {
{/* Auth code input */}
<div className="w-full mt-5">
<AuthCodeInputField
inputsRef={inputsRef}
allowedCharacters="alphanumeric"
length={6}
containerClassName="mt-[21px] w-full flex justify-between"
Expand Down

0 comments on commit 886ccd3

Please sign in to comment.