Skip to content

Commit

Permalink
fix: Prefer boolean attributes notation in JSX
Browse files Browse the repository at this point in the history
     JS-0400
  • Loading branch information
FleetAdmiralJakob committed Mar 23, 2024
1 parent 25d5e6d commit d90c2c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/web/src/pages/locationsettings/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ const LocationSettings = observer(() => {
{findCitiesByName === undefined &&
inputRef.current?.value &&
inputRef.current?.value.length > 0 ? (
<ClipLoader color={"#ffffff"} loading={true} size={20} />
<ClipLoader color={"#ffffff"} loading size={20} />
) : null}
</div>
</div>{" "}
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/pages/search/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ const Search = () => {
{findCitiesByName === undefined &&
inputRef.current?.value &&
inputRef.current?.value.length > 0 ? (
<ClipLoader color={"#ffffff"} loading={true} size={20} />
<ClipLoader color={"#ffffff"} loading size={20} />
) : null}
</div>
</div>
Expand Down

0 comments on commit d90c2c5

Please sign in to comment.