Skip to content

Commit

Permalink
keys-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Aakash Singh authored and Aakash Singh committed Sep 3, 2024
1 parent db37fca commit 019d5c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/layouts/job-filters.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const JobFilters = ({ searchParams }: { searchParams: JobQuerySchemaType }) => {
name="workmode"
render={() => (
<FormItem>
{Object.entries(WorkMode).map(([item, index]) => (
{Object.keys(WorkMode).map((item, index) => (
<FormField
key={index}
control={form.control}
Expand Down Expand Up @@ -188,7 +188,7 @@ const JobFilters = ({ searchParams }: { searchParams: JobQuerySchemaType }) => {
name="location"
render={() => (
<FormItem className="flex flex-wrap gap-2 space-y-0">
{Object.entries(JobLocations).map(([item, index]) => (
{Object.keys(JobLocations).map((item, index) => (
<FormField
key={index}
control={form.control}
Expand Down

0 comments on commit 019d5c4

Please sign in to comment.