From 2ef5325c97f61538a94f52a5f9c0d2e114cdeadf Mon Sep 17 00:00:00 2001 From: wr1159 Date: Mon, 21 Oct 2024 00:12:35 +0800 Subject: [PATCH] Fix import from api-uri --- frontend/lib/join-match-queue.ts | 2 +- frontend/lib/leave-match-queue.ts | 2 +- frontend/lib/subscribe-match.ts | 2 +- frontend/yarn.lock | 30 ++++++++++++++++++------------ 4 files changed, 21 insertions(+), 15 deletions(-) diff --git a/frontend/lib/join-match-queue.ts b/frontend/lib/join-match-queue.ts index a28f85862e..ae97ebaf57 100644 --- a/frontend/lib/join-match-queue.ts +++ b/frontend/lib/join-match-queue.ts @@ -1,4 +1,4 @@ -import { matchingServiceUri } from "@/lib/api-uri"; +import { matchingServiceUri } from "@/lib/api/api-uri"; export const joinMatchQueue = async ( jwtToken: string, diff --git a/frontend/lib/leave-match-queue.ts b/frontend/lib/leave-match-queue.ts index 4e4c453438..c91e7edb9f 100644 --- a/frontend/lib/leave-match-queue.ts +++ b/frontend/lib/leave-match-queue.ts @@ -1,4 +1,4 @@ -import { matchingServiceUri } from "@/lib/api-uri"; +import { matchingServiceUri } from "@/lib/api/api-uri"; export const leaveMatchQueue = async ( jwtToken: string, diff --git a/frontend/lib/subscribe-match.ts b/frontend/lib/subscribe-match.ts index b63ff73f48..6ea193908b 100644 --- a/frontend/lib/subscribe-match.ts +++ b/frontend/lib/subscribe-match.ts @@ -1,4 +1,4 @@ -import { matchingServiceWebSockUri } from "@/lib/api-uri"; +import { matchingServiceWebSockUri } from "@/lib/api/api-uri"; export const subscribeMatch = async ( userId: string, diff --git a/frontend/yarn.lock b/frontend/yarn.lock index 6c68e036b0..e0d4dda17f 100644 --- a/frontend/yarn.lock +++ b/frontend/yarn.lock @@ -617,16 +617,17 @@ dependencies: "@radix-ui/react-primitive" "2.0.0" -"@radix-ui/react-slot@1.1.0", "@radix-ui/react-slot@^1.1.0": - version "1.1.0" - resolved "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.1.0.tgz" - integrity sha512-FUCf5XMfmW4dtYl69pdS4DbxKy8nj4M7SafBgPllysxmdachynNflAdp/gCsnYWNDnge6tI9onzMp5ARYc1KNw== +"@radix-ui/react-slot@1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@radix-ui/react-slot/-/react-slot-1.0.2.tgz#a9ff4423eade67f501ffb32ec22064bc9d3099ab" + integrity sha512-YeTpuq4deV+6DusvVUW4ivBgnkHwECUu0BiN43L5UCDFgdhsRUWAghhTF5MbvNTPzmiFOx90asDSUjWuCNapwg== dependencies: - "@radix-ui/react-compose-refs" "1.1.0" + "@babel/runtime" "^7.13.10" + "@radix-ui/react-compose-refs" "1.0.1" -"@radix-ui/react-slot@^1.1.0": +"@radix-ui/react-slot@1.1.0", "@radix-ui/react-slot@^1.1.0": version "1.1.0" - resolved "https://registry.yarnpkg.com/@radix-ui/react-slot/-/react-slot-1.1.0.tgz#7c5e48c36ef5496d97b08f1357bb26ed7c714b84" + resolved "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.1.0.tgz" integrity sha512-FUCf5XMfmW4dtYl69pdS4DbxKy8nj4M7SafBgPllysxmdachynNflAdp/gCsnYWNDnge6tI9onzMp5ARYc1KNw== dependencies: "@radix-ui/react-compose-refs" "1.1.0" @@ -1212,6 +1213,16 @@ client-only@0.0.1, client-only@^0.0.1: resolved "https://registry.npmjs.org/client-only/-/client-only-0.0.1.tgz" integrity sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA== +clsx@2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/clsx/-/clsx-2.0.0.tgz#12658f3fd98fafe62075595a5c30e43d18f3d00b" + integrity sha512-rQ1+kcj+ttHG0MKVGBUXwayCCF1oh39BF5COIpRzuCEv8Mwjv0XucrI2ExNTOn9IlLifGClWQcU9BrZORvtw6Q== + +clsx@^2.1.1: + version "2.1.1" + resolved "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz" + integrity sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA== + cmdk@1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/cmdk/-/cmdk-1.0.0.tgz#0a095fdafca3dfabed82d1db78a6262fb163ded9" @@ -1220,11 +1231,6 @@ cmdk@1.0.0: "@radix-ui/react-dialog" "1.0.5" "@radix-ui/react-primitive" "1.0.3" -clsx@^2.1.1: - version "2.1.1" - resolved "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz" - integrity sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA== - color-convert@^2.0.1: version "2.0.1" resolved "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz"