kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Apply 2 suggestion(s) to 1 file(s)
Co-authored-by: Alex Gleason <alex@alexgleason.me>merge-requests/3348/head
rodzic
d8dec439a0
commit
4b66224647
|
@ -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();
|
||||
|
|
Ładowanie…
Reference in New Issue