made 8 default max

This commit is contained in:
Eric Bailey
2023-09-25 16:33:34 -05:00
parent 250e5eb3cd
commit dab793193e
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, pal.border,
{borderTopWidth: 1, paddingVertical: 10, marginTop: 10}, {borderTopWidth: 1, paddingVertical: 10, marginTop: 10},
]}> ]}>
<TagInput max={8} onChangeTags={onChangeTags} /> <TagInput onChangeTags={onChangeTags} />
</View> </View>
</ScrollView> </ScrollView>
{!extLink && suggestedLinks.size > 0 ? ( {!extLink && suggestedLinks.size > 0 ? (
+2 -2
View File
@@ -53,10 +53,10 @@ function Tag({
} }
export function TagInput({ export function TagInput({
max, max = 8,
onChangeTags, onChangeTags,
}: { }: {
max: number max?: number
onChangeTags: (tags: string[]) => void onChangeTags: (tags: string[]) => void
}) { }) {
const pal = usePalette('default') const pal = usePalette('default')