Skip to content

Commit 40b116e

Browse files
fix: typo in public-api documentation (#827)
1 parent 66354cd commit 40b116e

File tree

1 file changed

+1
-1
lines changed
  • i18n/en/docusaurus-plugin-content-docs/current/reference

1 file changed

+1
-1
lines changed

i18n/en/docusaurus-plugin-content-docs/current/reference/public-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Circular import is when two or more files import each other in a circle.
7979

8080
These situations are often difficult for bundlers to deal with, and in some cases they might even lead to runtime errors that might be difficult to debug.
8181

82-
Circular imports can occur without index files, but having an index file presents a clear opporutnity to accidentally create a circular import. It often happens when you have two objects exposed in the public API of a slice, for example, `HomePage` and `loadUserStatistics`, and the `HomePage` needs to access `loadUserStatistics`, but it does it like this:
82+
Circular imports can occur without index files, but having an index file presents a clear opportunity to accidentally create a circular import. It often happens when you have two objects exposed in the public API of a slice, for example, `HomePage` and `loadUserStatistics`, and the `HomePage` needs to access `loadUserStatistics`, but it does it like this:
8383

8484
```jsx title="pages/home/ui/HomePage.jsx"
8585
import { loadUserStatistics } from "../"; // importing from pages/home/index.js

0 commit comments

Comments
 (0)