diff --git a/public/icon-sprite.svg b/public/icon-sprite.svg index 21a026a3..2539b9c6 100644 --- a/public/icon-sprite.svg +++ b/public/icon-sprite.svg @@ -142,5 +142,9 @@ + + + + diff --git a/src/app/(post)/createPost/_components/VoteForm/index.tsx b/src/app/(post)/createPost/_components/VoteForm/index.tsx index 7ba2f07b..84bbbd80 100644 --- a/src/app/(post)/createPost/_components/VoteForm/index.tsx +++ b/src/app/(post)/createPost/_components/VoteForm/index.tsx @@ -2,6 +2,7 @@ import React, { ChangeEvent, useRef, useState } from 'react'; import Image from 'next/image'; +import Button from '@/src/components/Button/Button'; import Icon from '@/src/components/Icon'; import { cn } from '@/src/utils/cn'; @@ -118,21 +119,15 @@ const VoteForm = ({ onChange, error }: VoteFormProps) => { ))} {options.length < MAX_LIMIT && ( -
- +
)} {error &&

{error}

} diff --git a/src/components/Icon/type.ts b/src/components/Icon/type.ts index 733e40f1..6e9f5b85 100644 --- a/src/components/Icon/type.ts +++ b/src/components/Icon/type.ts @@ -38,4 +38,5 @@ export type IconName = | 'check-circle' | 'log-out' | 'write' - | 'arrow-right'; + | 'arrow-right' + | 'plus';