Создайте использование
const [isPending, startTransition] = useTransition();
Wild Worm
const [isPending, startTransition] = useTransition();