Skip to content

Commit

Permalink
hot fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bekossy committed May 23, 2024
1 parent f288b86 commit 1db198b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const AddToTestSetDrawer: React.FC<Props> = ({params, isChatVariant, ...props})
const router = useRouter()
const appId = router.query.app_id as string
const {testsets, mutate, isTestsetsLoading, isTestsetsLoadingError} = useLoadTestsetsList(appId)
const storedValue = JSON.parse(localStorage.getItem(`selectedTestset_${appId}`) || "")
const storedValue = localStorage.getItem(`selectedTestset_${appId}`)?.replace(/"/g, "")
const [selectedTestset, setSelectedTestset] = useLocalStorage<string>(
`selectedTestset_${appId}`,
"",
Expand Down

0 comments on commit 1db198b

Please sign in to comment.