Skip to content

Commit

Permalink
Update index.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
th0th committed Jan 24, 2025
1 parent b0ffd69 commit b22143a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/TeamMemberForm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type Form = {

export default function TeamMemberForm() {
const { showBoundary } = useErrorBoundary();
const { searchParams } = useSearchParams();
const [, searchParams] = useSearchParams();
const userID = searchParams.get("userID");
const title = useMemo(() => userID === null ? "Invite team member" : "Edit team member", [userID]);
const { formState: { errors, isLoading, isSubmitSuccessful, isSubmitting }, handleSubmit, register, setError, watch } = useForm<Form>({
Expand Down

0 comments on commit b22143a

Please sign in to comment.