diff --git a/src/components/match/CommentForm/index.tsx b/src/components/match/CommentForm/index.tsx index 818206d..3ee630e 100644 --- a/src/components/match/CommentForm/index.tsx +++ b/src/components/match/CommentForm/index.tsx @@ -1,7 +1,8 @@ import { UseMutateFunction } from '@tanstack/react-query'; -import { ChangeEvent, FormEvent, useState } from 'react'; +import { ChangeEvent, FormEvent, Fragment, useState } from 'react'; import { MatchCommentPayload, MatchTeamType } from '@/types/match'; +import { $ } from '@/utils/core'; type CommentFormProps = { matchId: string; @@ -10,6 +11,13 @@ type CommentFormProps = { scrollToBottom: () => void; }; +const teamColor = [ + 'bg-cheer-left', + 'bg-[#fb923c] ', + 'bg-cheer-right', + 'bg-[#22c55e]', +] as const; + export default function CommentForm({ matchId, matchTeams, @@ -44,7 +52,7 @@ export default function CommentForm({ }) } > -