Skip to content

Commit

Permalink
Applied prettier formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
koss-service committed Nov 18, 2023
1 parent f5c11f2 commit 209de67
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/components/Form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function Form<S extends InputSettings>(props: IFormProps<S>) {

setResponsesChanged(false);
},
disabled
disabled,
};

default_responses[name] = inputProps[name].defaultValue ?? "";
Expand Down Expand Up @@ -84,7 +84,9 @@ function Form<S extends InputSettings>(props: IFormProps<S>) {
<button
type="submit"
className="h-10 px-5 text-indigo-100 bg-indigo-700 rounded-lg transition-colors duration-150 focus:shadow-outline hover:bg-indigo-800 disabled:bg-gray-600"
disabled={(!responsesChanged && !props.submitWithoutChange) || disabled}
disabled={
(!responsesChanged && !props.submitWithoutChange) || disabled
}
>
Submit
</button>
Expand Down
1 change: 0 additions & 1 deletion src/pages/ProjectForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ function ProjectForm(props: { isEditing?: boolean }) {
});

useEffect(() => {

if (isEditing && id !== undefined) {
setLoading(true);

Expand Down

0 comments on commit 209de67

Please sign in to comment.