Skip to content

Commit 99969ea

Browse files
authored
Update README.md
1 parent f5ad9a2 commit 99969ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/react/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ const App = () => {
209209
});
210210
}, []);
211211

212-
const particlesLoaded = async (container: Container): Promise<void> => {
212+
const particlesLoaded = async (container?: Container): Promise<void> => {
213213
console.log(container);
214214
};
215215

@@ -375,7 +375,7 @@ const App = () => {
375375
});
376376
}, []);
377377

378-
const particlesLoaded = (container: Container) => {
378+
const particlesLoaded = (container?: Container) => {
379379
console.log(container);
380380
};
381381

0 commit comments

Comments
 (0)