Skip to content

Commit

Permalink
fix: location is a global now
Browse files Browse the repository at this point in the history
  • Loading branch information
jmfrancois committed Aug 29, 2024
1 parent b01f3c3 commit 7d0e6a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions component-starter-server/src/main/frontend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ unzip component-starter-server-meecrowave-distribution.zip
cd component-starter-server-distribution

export JDK_JAVA_OPTIONS="-Dtalend.component.starter.security.csp=\"default-src 'self' data: unpkg.com; frame-ancestors 'none' ; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline'\""
export JAVA_HOME=/opt/homebrew/opt/openjdk@17

./bin/meecrowave.sh run
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ function StepByStep(props) {
return (
<nav className={theme.menu}>
<ol>
<li
className={classnames({ [theme.active]: props.location.pathname === '/openapi/project' })}
>
<li className={classnames({ [theme.active]: location.pathname === '/openapi/project' })}>
<Link to="/openapi/project" id="step-start">
Start
</Link>
Expand All @@ -35,7 +33,7 @@ function StepByStep(props) {
</li>
<li
id="step-finish"
className={classnames({ [theme.active]: props.location.pathname === '/openapi/export' })}
className={classnames({ [theme.active]: location.pathname === '/openapi/export' })}
>
<Link to="/openapi/export" id="go-to-finish-button">
Finish
Expand Down

0 comments on commit 7d0e6a0

Please sign in to comment.