fix e2e walkthrough test failures

pull/1671/head
Joseph Izang 3 years ago
parent 150993c1d2
commit d172df5f5a
  1. 5
      apps/remix-ide/src/walkthroughService.js
  2. 5
      libs/remix-ui/vertical-icons-panel/src/lib/remix-ui-vertical-icons-panel.tsx

@ -6,13 +6,8 @@ export class WalkthroughService {
} }
start (params) { start (params) {
<<<<<<< HEAD
document.addEventListener('doWalkThrough', (e) => { document.addEventListener('doWalkThrough', (e) => {
if (!localStorage.getItem('hadTour_initial')) { if (!localStorage.getItem('hadTour_initial')) {
=======
if (!localStorage.getItem('hadTour_initial')) {
document.addEventListener('doWalkThrough', (e) => {
>>>>>>> e0fcb6bcd (changes based on LianaHus comments complete)
introJs().setOptions({ introJs().setOptions({
steps: [{ steps: [{
title: 'Welcome to Remix IDE', title: 'Welcome to Remix IDE',

@ -4,7 +4,8 @@ import React, {
Fragment, Fragment,
useEffect, useEffect,
useReducer, useReducer,
useRef useRef,
useState
} from 'react' } from 'react'
import './remix-ui-vertical-icons-panel.css' import './remix-ui-vertical-icons-panel.css'
@ -24,7 +25,7 @@ export function RemixUiVerticalIconsPanel ({
}: RemixUiVerticalIconsPanelProps) { }: RemixUiVerticalIconsPanelProps) {
const scrollableRef = useRef<any>() const scrollableRef = useRef<any>()
const iconPanelRef = useRef<any>() const iconPanelRef = useRef<any>()
const udappPanelRef = useRef<any>() // const [first] = useState(localStorage.getItem('firstTime'))
function onThemeChanged (themeType: any) { function onThemeChanged (themeType: any) {
const invert = themeType === 'dark' ? 1 : 0 const invert = themeType === 'dark' ? 1 : 0

Loading…
Cancel
Save