From 156c8e3c33e7b58ead30cd8ee2caacf90df03bd6 Mon Sep 17 00:00:00 2001 From: Carl Fravel Date: Thu, 21 Nov 2024 05:50:17 -0600 Subject: [PATCH] Update runtime-data.md (#448) 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 Co-authored-by: Nicolas Earnshaw --- content/creator/sdk7/interactivity/runtime-data.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/creator/sdk7/interactivity/runtime-data.md b/content/creator/sdk7/interactivity/runtime-data.md index 4a8d27e0..9eba3a02 100644 --- a/content/creator/sdk7/interactivity/runtime-data.md +++ b/content/creator/sdk7/interactivity/runtime-data.md @@ -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()