Skip to content

Commit

Permalink
[#65] fix: 서비스 수정 폼에서 버튼 disable 문제 해결
Browse files Browse the repository at this point in the history
- 수정사항 없을 때도 버튼이 active해서 관련 조건문 수정
  • Loading branch information
Seogeurim committed Dec 28, 2021
1 parent 6fd6e65 commit bbded92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/service/ServiceEditForm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const ServiceEditForm: FC<ServiceEditFormProps> = ({ serviceInfo }) => {
domain !== inputs.domain ||
firstQuestion !== inputs.firstQuestion ||
theme.toString() !== inputs.theme ||
profileImg !== image.preview,
image.raw !== null,
);
}, [inputs, image]);

Expand Down

0 comments on commit bbded92

Please sign in to comment.