Skip to content

Commit

Permalink
feat: add avatar input
Browse files Browse the repository at this point in the history
  • Loading branch information
quentingrchr committed Oct 24, 2024
1 parent 22d6d17 commit 6efb01f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/teams/form/settings/SettingsForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import { Team } from '@prisma/client';
import { FormEvent, useTransition } from 'react';
import { FormProvider, useForm } from 'react-hook-form';
import { DangerZoneTeam } from '../DangerZone';
import { FieldName, FIELDS, fieldsData } from './form-data';
import SettingsField from './SettingsField';
import TeamColorField from './TeamColorField';
import { FIELDS, FieldName, textFieldsData } from './form-data';

const PRO_FIELDS = ['prompt'];

Expand Down Expand Up @@ -65,7 +65,7 @@ const SettingsForm = ({ team }: { team: Team }) => {
<form action={onSubmit}>
<div className="flex flex-col gap-6 pt-4">
<div className="flex flex-col gap-4">
{fieldsData
{textFieldsData
.filter(
(field) =>
team?.subscriptionId || !PRO_FIELDS?.includes(field?.id)
Expand Down

0 comments on commit 6efb01f

Please sign in to comment.