Skip to content

Commit

Permalink
fix(edit): show icons on dropdown (#1641)
Browse files Browse the repository at this point in the history
* fix(edit): show icons on dropdown

* chore(board): refactor
  • Loading branch information
purusott authored Sep 12, 2024
1 parent 31211ea commit 6ac811d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions tavla/app/(admin)/components/TileSelector/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,11 @@ function TileSelector({
oid,
showLabel,
col = true,
lineIcons = true,
}: {
action: (data: FormData) => void
oid?: TOrganizationID
showLabel?: boolean
col?: boolean
lineIcons?: boolean
}) {
const { counties, selectedCounties, setSelectedCounties } =
useCountiesSearch(oid)
Expand All @@ -36,7 +34,6 @@ function TileSelector({

const { quays, selectedQuay, setSelectedQuay } = useQuaySearch(
selectedStopPlace?.value ?? '',
lineIcons,
)

const classname = col ? '' : 'lg:flex-row'
Expand Down
1 change: 0 additions & 1 deletion tavla/app/(admin)/edit/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ export default async function EditPage({ params }: TProps) {
<TileSelector
col={false}
oid={organization?.id}
lineIcons={false}
action={async (data: FormData) => {
'use server'

Expand Down

0 comments on commit 6ac811d

Please sign in to comment.