Skip to content

Commit

Permalink
check if icub or icubsim
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolasr3 committed Dec 6, 2022
1 parent 857aa7f commit cd2097d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {Main} from './controller/Main/Main'

const AppRoutes = () => {
const appName = process.env.REACT_APP_NAME
const robotName = process.env.REACT_APP_ROBOT_NAME
const robotName = process.env.REACT_APP_ICUB_SIMULATION ? "icubSim" : "icub"

let routes = useRoutes([
{ path: "/" , element: <Intro robotName={robotName} appName={appName} apiTarget={"IntroGUI"} request={{}}/> },
Expand Down

0 comments on commit cd2097d

Please sign in to comment.