Skip to content

Commit d8afe03

Browse files
anantmittalCopilot
andcommitted
Update client/src/components/forms/LocationSelect.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 4365b64 commit d8afe03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/components/forms/LocationSelect.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const LocationSelect = ({
1818
const { locationService } = useApi();
1919
const { data: locations = [] } = locationService.useLocations() ?? {};
2020

21-
const options = locations?.map(
21+
const options = locations.map(
2222
(location: { _id: string; hubName: string }) => ({
2323
value: location._id,
2424
label: location.hubName

0 commit comments

Comments
 (0)