Skip to content

Commit

Permalink
Add title
Browse files Browse the repository at this point in the history
  • Loading branch information
neilh-cogapp committed Mar 21, 2024
1 parent 189a6fe commit 499808a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import './globals.css';
const inter = Inter({ subsets: ['latin'] });

export const metadata: Metadata = {
title: 'Template',
title: 'Making a Scene - A cogapp hackday game',
};

export default function RootLayout({ children }: { children: React.ReactNode }) {
Expand Down
3 changes: 2 additions & 1 deletion src/app/rooms/[slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { CameraIcon, PencilIcon } from '@heroicons/react/20/solid';
import Header from '@/app/components/Header';
import { v4 as uuidv4 } from 'uuid';
import React from 'react';
import { Stage as StageType } from 'konva/lib/Stage';

const Canvas = dynamic(() => import('@/app/components/Canvas'), {
ssr: false,
Expand All @@ -32,7 +33,7 @@ export default function Page({ params }) {
const slug = params.slug;
const bgImageUrl = `/rooms/room-${slug}.png`;

const stageRef = useRef(null);
const stageRef = useRef<StageType>(null);

// Modal component is activated by button press
// in the search component so that state is
Expand Down

0 comments on commit 499808a

Please sign in to comment.