From 750ea20969ece5e2aa6f626530c733191708af24 Mon Sep 17 00:00:00 2001 From: Pekka Helesuo Date: Fri, 8 Dec 2023 15:08:24 +0200 Subject: [PATCH] reactify guided tour for asdi-login bundle --- bundles/asdi-login/instance.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bundles/asdi-login/instance.js b/bundles/asdi-login/instance.js index 62ad559..34552e0 100644 --- a/bundles/asdi-login/instance.js +++ b/bundles/asdi-login/instance.js @@ -1,3 +1,6 @@ +import React from 'react'; +import { Message } from 'oskari-ui'; + /** * @class Oskari.asdi.login.BundleInstance */ @@ -58,9 +61,7 @@ Oskari.clazz.define('Oskari.asdi.login.BundleInstance', return this.locale.guidedTour.title; }, getContent: function () { - var content = jQuery('
'); - content.append(this.locale.guidedTour.message); - return content; + return ; }, getLinks: function () { // No links to show