fix sensitive media button not displayed

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2024-09-08 16:35:01 +02:00
parent 64af5cd176
commit d1676da2fc

View file

@ -181,7 +181,7 @@ const ComposeForm = <ID extends string>({ id, shouldCondense, autoFocus, clickab
{features.scheduledStatuses && <ScheduleButton composeId={id} />}
{anyMedia && features.spoilers && <SensitiveMediaButton composeId={id} />}
</HStack>
), [features, id]);
), [features, id, anyMedia]);
const composeModifiers = !condensed && (
<Stack space={4} className='font-[inherit] text-sm text-gray-900'>