Skip to content

Commit

Permalink
Remove separator from select
Browse files Browse the repository at this point in the history
  • Loading branch information
nonylene committed Jan 1, 2024
1 parent d31d5bd commit dc4acac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/routes/search.pukiwiki/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import {
useRouteError,
useSearchParams,
} from "@remix-run/react";
import { IndicatorSeparator } from "node_modules/react-select/dist/declarations/src/components/indicators";
import { Suspense } from "react";
import Select from "react-select";
import HeinekenError from "~/components/heineken-error";
Expand Down Expand Up @@ -92,6 +93,7 @@ const createOrderSelect = (params: URLSearchParams, setSearchParams) => {
options={sortOrderOptions}
value={getOrderOption(order)}
onChange={(e) => onNewOrder(e!.value)}
components={{ IndicatorSeparator: () => null }}
/>
</div>

Expand Down

0 comments on commit dc4acac

Please sign in to comment.