Skip to content

Commit be9d81d

Browse files
GoldyvaiiiiGoldyvaiiii
andauthored
docs: fix typos in comments and types (#1446)
Co-authored-by: Goldyvaiiii <01234567vss@gmail.com>
1 parent f32bd1b commit be9d81d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/pure.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ function render(
265265
}
266266

267267
let root
268-
// eslint-disable-next-line no-negated-condition -- we want to map the evolution of this over time. The root is created first. Only later is it re-used so we don't want to read the case that happens later first.
268+
// eslint-disable-next-line no-negated-condition -- we want to map the evolution of this over time. The root is created first. Only later is it reused so we don't want to read the case that happens later first.
269269
if (!mountedContainers.has(container)) {
270270
const createRootImpl = legacyRoot ? createLegacyRoot : createConcurrentRoot
271271
root = createRootImpl(container, {

types/test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export function wrappedRender(
138138

139139
return pure.render(ui, {
140140
wrapper: Wrapper,
141-
// testing exactOptionalPropertyTypes comaptibility
141+
// testing exactOptionalPropertyTypes compatibility
142142
hydrate: options?.hydrate,
143143
...options,
144144
})

0 commit comments

Comments
 (0)