Skip to content

Commit

Permalink
docs: update readme usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Firstname Lastname committed Jul 5, 2024
1 parent 45b6213 commit 700d58c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,12 @@ let make = () => {

#### Cleaning server side portals

You must call the `UniversalPortal_Shared.Hooks.UseRemoveServerPortals.make` at the main entry point of your app, so it will remove all the server side portals.
You must call the `UniversalPortal_Js.useRemoveServerPortals` at the main entry point of your app, so it will remove all the server side portals.

Checkout the demo for more details: [Demo](/demo/shared/native/App.re#L3-L9)

```reason
UniversalPortal_Shared.Hooks.UseRemoveServerPortals.make();
UniversalPortal_Js.useRemoveServerPortals();
```

## Running the demo
Expand Down

0 comments on commit 700d58c

Please sign in to comment.