Skip to content

Commit

Permalink
enable camera
Browse files Browse the repository at this point in the history
  • Loading branch information
Aite Aigbe committed Jan 30, 2023
1 parent 91fc53d commit 2c90a10
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
10 changes: 5 additions & 5 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
import Menu from "components/UI";
// import Cameras from "components/ML/Cameras";
import Cameras from "components/ML/Cameras";
import Layout from "../layouts/Layout.astro";
---

<Layout>
<Menu client:load />
<!-- <Cameras client:only /> -->
<Menu client:only="react" />
<Cameras client:only="react" />
<p
class="absolute top-1/2 left-1/2 z-0"
style="transform:translate(-50%,-50%)"
Expand All @@ -15,8 +15,8 @@ import Layout from "../layouts/Layout.astro";
</p>
</Layout>
<script>
import { state } from "state";
console.log(state.gameStarted);
// import { state } from "state";
// console.log(state.gameStarted);

// const;
</script>
3 changes: 1 addition & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@
"state":[ "common/state.ts"],
"components/*": ["components/*"],
"utils": ["common/utils.ts"],
"styles":[ "styles/*"],
"readme": ["README.md"]
"styles":[ "styles/*"]
}
}
}

1 comment on commit 2c90a10

@vercel
Copy link

@vercel vercel bot commented on 2c90a10 Jan 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

gear – ./

gear-git-refactoring-paredol.vercel.app
gear-ten.vercel.app
gear-paredol.vercel.app

Please sign in to comment.