made 8 default max

This commit is contained in:
Eric Bailey
2023-09-25 16:33:34 -05:00
parent bc0dd5c62f
commit 28462d4db1
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -396,7 +396,7 @@ export const ComposePost = observer(function ComposePost({
pal.border,
{borderTopWidth: 1, paddingVertical: 10, marginTop: 10},
]}>
<TagInput max={8} onChangeTags={onChangeTags} />
<TagInput onChangeTags={onChangeTags} />
</View>
</ScrollView>
{!extLink && suggestedLinks.size > 0 ? (
+2 -2
View File
@@ -53,10 +53,10 @@ function Tag({
}
export function TagInput({
max,
max = 8,
onChangeTags,
}: {
max: number
max?: number
onChangeTags: (tags: string[]) => void
}) {
const pal = usePalette('default')