`#${tag}`)} noLink noLabel />
diff --git a/web/components/tags-input.tsx b/web/components/tags-input.tsx
index 98818008..24b4a20c 100644
--- a/web/components/tags-input.tsx
+++ b/web/components/tags-input.tsx
@@ -4,7 +4,7 @@ import { parseWordsAsTags } from '../../common/util/parse'
import { Contract, updateContract } from '../lib/firebase/contracts'
import { Col } from './layout/col'
import { Row } from './layout/row'
-import { CompactTagsList } from './tags-list'
+import { TagsList } from './tags-list'
export function TagsInput(props: { contract: Contract; className?: string }) {
const { contract, className } = props
@@ -27,7 +27,7 @@ export function TagsInput(props: { contract: Contract; className?: string }) {
return (
- `#${tag}`)} />
+ `#${tag}`)} />
- {tag}
+ {tag}
)
@@ -29,10 +28,12 @@ export function TagsList(props: {
tags: string[]
className?: string
noLink?: boolean
+ noLabel?: boolean
}) {
- const { tags, className, noLink } = props
+ const { tags, className, noLink, noLabel } = props
return (
-
+
+ {!noLabel && Tags
}
{tags.map((tag) => (
))}
@@ -40,19 +41,6 @@ export function TagsList(props: {
)
}
-export function CompactTagsList(props: { tags: string[] }) {
- const { tags } = props
- return (
-
- {tags.map((tag) => (
-
-
-
- ))}
-
- )
-}
-
export function FoldTag(props: { fold: Fold }) {
const { fold } = props
const { name } = fold
@@ -60,7 +48,7 @@ export function FoldTag(props: { fold: Fold }) {