>
diff --git a/web/pages/activity.tsx b/web/pages/activity.tsx
index 4feb494c..24340ef0 100644
--- a/web/pages/activity.tsx
+++ b/web/pages/activity.tsx
@@ -1,17 +1,17 @@
import _ from 'lodash'
import { ContractFeed } from '../components/contract-feed'
-import { Row } from '../components/layout/row'
import { Page } from '../components/page'
import { Title } from '../components/title'
import { useRecentComments } from '../hooks/use-comments'
import { useContracts } from '../hooks/use-contracts'
import { Contract } from '../lib/firebase/contracts'
import { Comment } from '../lib/firebase/comments'
+import { Col } from '../components/layout/col'
function FeedCard(props: { contract: Contract }) {
const { contract } = props
return (
-
+
)
@@ -74,16 +74,14 @@ export function ActivityFeed() {
const recentComments = useRecentComments() || []
// TODO: Handle static props correctly?
const activeContracts = findActiveContracts(contracts, recentComments)
- return contracts ? (
+ return contracts.length > 0 ? (
<>
-
-
- {activeContracts.map((contract) => (
-
- ))}
-
-
+
+ {activeContracts.map((contract) => (
+
+ ))}
+
>
) : (
<>>
diff --git a/web/pages/create.tsx b/web/pages/create.tsx
index 7e00191b..13c1a98d 100644
--- a/web/pages/create.tsx
+++ b/web/pages/create.tsx
@@ -4,7 +4,6 @@ import clsx from 'clsx'
import dayjs from 'dayjs'
import Textarea from 'react-expanding-textarea'
-import { CreatorContractsList } from '../components/contracts-list'
import { Spacer } from '../components/layout/spacer'
import { Title } from '../components/title'
import { useUser } from '../hooks/use-user'
@@ -84,7 +83,7 @@ export default function NewContract() {
-
+
{/* Create a Tailwind form that takes in all the fields needed for a new contract */}
{/* When the form is submitted, create a new contract in the database */}