Skip to content

Commit

Permalink
Merge pull request a16z-infra#80 from a16z-infra/james/game-wrapper
Browse files Browse the repository at this point in the history
rename Examples to GameWrapper
  • Loading branch information
jamescowling authored Aug 14, 2023
2 parents 2fdbf71 + 5503713 commit b371906
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { SignedIn, SignedOut, UserButton, auth } from '@clerk/nextjs';
import Examples from '@/components/Examples';
import GameWrapper from '@/components/GameWrapper';
import FreezeButton from '@/components/FreezeButton';
import LoginButton from '@/components/LoginButton';

Expand All @@ -25,7 +25,7 @@ export default function Home() {
A virtual town where AI characters live, chat and socialize.
</p>

<Examples />
<GameWrapper />

<footer className="absolute bottom-0 left-0 w-full flex items-center mt-4 gap-6 p-6 flex-wrap">
<div className="flex gap-4 flex-grow">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import type { Player } from '../../convex/schema';

import { useElementSize } from 'usehooks-ts';

export default function Examples() {
export default function GameWrapper() {
const [selectedPlayer, setSelectedPlayer] = useState<Player>();

const [gameWrapperRef, { width, height }] = useElementSize();
Expand Down

0 comments on commit b371906

Please sign in to comment.