Skip to content

Commit

Permalink
Disable Add Video when we have images
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Oct 3, 2024
1 parent 7649b06 commit 74eb93d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/view/com/composer/Composer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,7 @@ export const ComposePost = ({
/>
<SelectVideoBtn
onSelectVideo={selectVideo}
disabled={!canSelectImages}
disabled={!canSelectImages || images?.length > 0}
setError={setError}
/>
<OpenCameraBtn disabled={!canSelectImages} onAdd={onImageAdd} />
Expand Down

0 comments on commit 74eb93d

Please sign in to comment.