Apply 2 suggestion(s) to 1 file(s)

Co-authored-by: Alex Gleason <alex@alexgleason.me>
merge-requests/3348/head
Mary Kate 2025-03-08 19:40:19 +00:00
rodzic d8dec439a0
commit 4b66224647
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -74,12 +74,11 @@ interface IComposeForm<ID extends string> {
event?: string;
group?: string;
extra?: React.ReactNode;
streak?: number;
}
const ComposeForm = <ID extends string>({ id, shouldCondense, autoFocus, clickableAreaRef, event, group, extra, streak }: IComposeForm<ID>) => {
const { account } = useOwnAccount();
const userStreak = streak ?? account?.ditto.streak.days;
const userStreak = account?.ditto.streak.days;
const history = useHistory();
const intl = useIntl();