Skip to content

Commit bf9b41d

Browse files
committed
fix up build
1 parent 5620ace commit bf9b41d

File tree

3 files changed

+7
-24
lines changed

3 files changed

+7
-24
lines changed

pages/explore.tsx

+4-23
Original file line numberDiff line numberDiff line change
@@ -34,31 +34,12 @@ const Explore: NextPage = () => {
3434
</>
3535
)
3636

37+
} else {
38+
return (
39+
<span>List: Loading...</span>
40+
)
3741
}
38-
return (
39-
<>
40-
{/* {error && <strong>Error: {error}</strong>} */}
41-
{loading && <span>List: Loading...</span>}
42-
{!loading && snapshots && (
43-
<>
44-
45-
{/* <div className="flex min-h-screen flex-col items-center justify-center py-2"> */}
4642

47-
{/* <main className="flex w-full flex-1 flex-col items-center justify-center px-20 text-center"> */}
48-
<main className="max-w-2xl mx-auto py-16 px-4 sm:py-24 sm:px-6 lg:max-w-7xl lg:px-8">
49-
<h2 className="text-2xl font-extrabold tracking-tight text-gray-900">New Sculptures</h2>
50-
{ sculptures.map((sculpture) => (
51-
<SculptureCard sculpture={sculpture}/>
52-
))
53-
}
54-
55-
</main>
56-
{/* </main> */}
57-
{/* </div> */}
58-
</>
59-
)}
60-
</>
61-
)
6243
}
6344

6445
export default Explore

pages/sculpture/[id].tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const Sculpture = (props: any) => {
3535
}
3636

3737

38-
}
38+
3939

4040

4141

types/shader-park-core.d.ts

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// foo.d.ts
2+
declare module 'shader-park-core';

0 commit comments

Comments
 (0)