Skip to content

Commit

Permalink
Patch frontend enabler
Browse files Browse the repository at this point in the history
  • Loading branch information
b-j-roberts committed Jan 18, 2025
1 parent b448e66 commit b147622
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 6 additions & 3 deletions frontend/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -1372,13 +1372,16 @@ function App() {
<div
className='App__logo'
onClick={() => {
setHomeCounter(homeCounter + 1);
if (homeCounter > 2) {
let newCounter = homeCounter + 1;
setHomeCounter(newCounter);
console.log('Home counter:', newCounter);
if (homeCounter === 2) {
setWorldsMode(true);
setOpenedWorldId(0);
console.log('Worlds mode activated');
}
setActiveTab(tabs[0]);
window.location.pathname = '/';
//TODO: window.location.pathname = '/';
}}
>
<img
Expand Down
1 change: 0 additions & 1 deletion infra/instructions/worlds-deploy-steps.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ apply changes to cloud
If full reset
make helm-uninstall
POSTGRES_PASSWORD=test AUTH_TOKEN=dna_abc make helm-install
make init-infra-prod
else
POSTGRES_PASSWORD=test AUTH_TOKEN=dna_abc make helm-upgrade

Expand Down

0 comments on commit b147622

Please sign in to comment.