Skip to content

Commit 3fe40ab

Browse files
authored
Revert "chore: fix some comments (#2602)"
This reverts commit b5b9b77.
1 parent b5b9b77 commit 3fe40ab

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/extensions/urql.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ function use(promise: Promise<any> | any) {
207207

208208
<CodeSandbox id="5rwunq" />
209209

210-
### Referencing the same instance of the client for both atoms and urql provider
210+
### Refferencing the same instance of the client for both atoms and urql provider
211211

212212
To ensure that you reference the same urqlClient object, be sure to wrap the root of your project in a `<Provider>` and initialise clientAtom with the same urqlClient value you provided to UrqlProvider.
213213

docs/guides/initialize-atom-on-render.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export default function App() {
8888
}
8989
```
9090

91-
This behavior is due to our child components looking for the lowest common `Provider` ancestor to derive its value.
91+
This behavior is due to our child components looking for the lowest commmon `Provider` ancestor to derive its value.
9292

9393
For more information on `Provider` behavior, please read the docs [here](../core/provider.mdx).
9494

tests/react/async2.test.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { useAtom, useAtomValue, useSetAtom } from 'jotai/react'
55
import { atom } from 'jotai/vanilla'
66

77
describe('useAtom delay option test', () => {
8-
it('suspend for Promise.resolve without delay option', async () => {
8+
it('suspend for Promise.resovle without delay option', async () => {
99
const countAtom = atom(0)
1010
const asyncAtom = atom((get) => {
1111
const count = get(countAtom)
@@ -45,7 +45,7 @@ describe('useAtom delay option test', () => {
4545
await findByText('count: 1')
4646
})
4747

48-
it('do not suspend for Promise.resolve with delay option', async () => {
48+
it('do not suspend for Promise.resovle with delay option', async () => {
4949
const countAtom = atom(0)
5050
const asyncAtom = atom((get) => {
5151
const count = get(countAtom)

0 commit comments

Comments
 (0)