From e434b9729155678a2a24e9c63becb30b76df7327 Mon Sep 17 00:00:00 2001 From: MiroslavDionisiev Date: Wed, 13 Nov 2024 11:32:55 +0200 Subject: [PATCH] fix: display guide from learn how to make project button --- src/components/welcome/welcome.jsx | 21 ++++++++++++++++++--- src/views/splash/presentation.jsx | 3 +++ src/views/splash/splash.jsx | 3 +++ 3 files changed, 24 insertions(+), 3 deletions(-) diff --git a/src/components/welcome/welcome.jsx b/src/components/welcome/welcome.jsx index 2028aea8b..1606a229c 100644 --- a/src/components/welcome/welcome.jsx +++ b/src/components/welcome/welcome.jsx @@ -1,5 +1,6 @@ const PropTypes = require('prop-types'); const React = require('react'); +const {shouldDisplayOnboarding} = require('../../lib/onboarding.js'); const Box = require('../box/box.jsx'); @@ -19,11 +20,23 @@ const Welcome = props => ( >

- + {props.messages['welcome.learn']}

- + Get Started { // eslint-disable-line react/jsx-no-bind this.props.onDismiss('welcome'); }} + permissions={this.props.permissions} + user={this.props.user} /> ] : [ ({ isAdmin: state.permissions.admin, isEducator: state.permissions.educator, loved: state.splash.loved.rows, + permissions: state.permissions, sessionStatus: state.session.status, shared: state.splash.shared.rows, studios: state.splash.studios.rows,