From 6db6aa50fc8cd70c42b0e065dfef375a29b1e34d Mon Sep 17 00:00:00 2001
From: johannchopin <117653073+johannchopin-buyco@users.noreply.github.com>
Date: Mon, 29 Sep 2025 14:41:53 +0200
Subject: [PATCH] doc: fix typo in testing example
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 0be0fd4..4524397 100644
--- a/README.md
+++ b/README.md
@@ -422,7 +422,7 @@ import { render, act, screen } from '@testing-library/react';
import { MyNiceModal } from '../MyNiceModal';
test('My nice modal works!', () => {
- render(
+ render();
act(() => {
NiceModal.show(MyNiceModal);