made 8 default max
This commit is contained in:
@@ -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 ? (
|
||||
|
||||
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user