Skip to content

Commit

Permalink
Update runtime-data.md (#448)
Browse files Browse the repository at this point in the history
import { getPlatform } from '~system/EnvironmentApi'
not
import { getPlatform } from '~system/EnvironmentAPI'

I suggest that you also scan for other such mistakes

Signed-off-by: Carl Fravel <[email protected]>
Co-authored-by: Nicolas Earnshaw <[email protected]>
  • Loading branch information
cfravel and nearnshaw authored Nov 21, 2024
1 parent 8be63cc commit 156c8e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/creator/sdk7/interactivity/runtime-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Players can access Decentraland via various platforms, currently via the browser
Use `getPlatform()` to know what platform the current player is running Decentraland on.

```ts
import { getPlatform } from '~system/EnvironmentAPI'
import { getPlatform } from '~system/EnvironmentApi'

executeTask(async () => {
let data = await getPlatform()
Expand Down

0 comments on commit 156c8e3

Please sign in to comment.