From 45aadc34225622e6bb9820533910ebf161766400 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=A0=E4=B8=8B=20=E5=85=8B=E5=BD=A6?= Date: Tue, 16 Jul 2024 20:57:37 +0900 Subject: [PATCH] import from jotai/vanilla --- tests/focus-setter.spec.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/focus-setter.spec.tsx b/tests/focus-setter.spec.tsx index 6fe94b4..99809f7 100644 --- a/tests/focus-setter.spec.tsx +++ b/tests/focus-setter.spec.tsx @@ -1,12 +1,11 @@ import { afterEach, test } from 'vitest'; import { StrictMode, Suspense } from 'react'; import { cleanup, fireEvent, render } from '@testing-library/react'; -import { useAtom } from 'jotai/react'; +import { useAtom, useSetAtom } from 'jotai/react'; import { atom } from 'jotai/vanilla'; import type { SetStateAction } from 'jotai/vanilla'; import * as O from 'optics-ts'; import { focusAtom } from 'jotai-optics'; -import { useSetAtom } from 'jotai'; afterEach(cleanup);