From 702f4fe4c0721e8eb9835993c7242301d16ba012 Mon Sep 17 00:00:00 2001 From: jonny Date: Thu, 17 Jun 2021 11:32:59 +0200 Subject: [PATCH] converted goToRoom to typed call --- front/src/Api/iframe/Navigation.ts | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/front/src/Api/iframe/Navigation.ts b/front/src/Api/iframe/Navigation.ts index e1c072bf..b006011c 100644 --- a/front/src/Api/iframe/Navigation.ts +++ b/front/src/Api/iframe/Navigation.ts @@ -1,9 +1,7 @@ import type { GoToPageEvent } from '../Events/GoToPageEvent'; import type { OpenTabEvent } from '../Events/OpenTabEvent'; import { IframeApiContribution, sendToWorkadventure } from './IframeApiContribution'; -import {LoadPageEvent} from "../Events/LoadPageEvent"; -import type { LoadPageEvent } from '../Events/LoadPageEvent'; class WorkadventureNavigationCommands extends IframeApiContribution { @@ -32,16 +30,12 @@ class WorkadventureNavigationCommands extends IframeApiContribution>>>>>> Stashed changes + } + }); } }