Skip to content

Commit

Permalink
chore: update both typescript and netlify runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
mainawycliffe committed Sep 18, 2024
1 parent bf37639 commit f3b5872
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 16 deletions.
20 changes: 10 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@heroicons/react": "^1.0.3",
"@hookform/resolvers": "^2.8.8",
"@monaco-editor/react": "^4.6.0",
"@netlify/plugin-nextjs": "^5.1.2",
"@netlify/plugin-nextjs": "^5.7.1",
"@next/bundle-analyzer": "^14.2.5",
"@ory/client": "^1.2.11",
"@ory/integrations": "^1.1.5",
Expand Down Expand Up @@ -95,7 +95,7 @@
"timeago.js": "^4.0.2",
"tsconfig-paths-webpack-plugin": "^4.1.0",
"type-fest": "^4.8.2",
"typescript": "^4.7.2",
"typescript": "^5.6.2",
"uuid": "^8.3.2",
"web-vitals": "^2.1.4",
"yaml": "^2.1.3",
Expand Down Expand Up @@ -221,4 +221,4 @@
"workerDirectory": "public"
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}
}
11 changes: 8 additions & 3 deletions src/components/SearchSelect/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
import clsx from "clsx";
import React, { ComponentProps } from "react";
import { ReactNode, useCallback, useEffect, useMemo, useState } from "react";
import React, {
ComponentProps,
ReactNode,
useCallback,
useEffect,
useMemo,
useState
} from "react";
import { HiOutlineSelector, HiSearch } from "react-icons/hi";
import Select, { SingleValue } from "react-select";

Expand Down Expand Up @@ -85,7 +91,6 @@ export function SearchSelect({
{name && (
<span className="mr-1 whitespace-nowrap text-gray-500">{name}</span>
)}
{/* @ts-expect-error */}
<RenderSelection label={value?.label!} value={value?.value!} />
<span className="pointer-events-none absolute inset-y-0 right-0 flex items-center text-gray-400">
<HiOutlineSelector size={24} />
Expand Down

0 comments on commit f3b5872

Please sign in to comment.