mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-28 12:23:31 +01:00
Upgrade Prettier from v2.1.2 to v2.2.1
This commit is contained in:
committed by
Scott Nonnenberg
parent
664865c9f1
commit
a5a64f354f
@@ -243,9 +243,7 @@ export class Message extends React.PureComponent<Props, State> {
|
||||
|
||||
public audioButtonRef: React.RefObject<HTMLButtonElement> = React.createRef();
|
||||
|
||||
public reactionsContainerRef: React.RefObject<
|
||||
HTMLDivElement
|
||||
> = React.createRef();
|
||||
public reactionsContainerRef: React.RefObject<HTMLDivElement> = React.createRef();
|
||||
|
||||
public reactionsContainerRefMerger = createRefMerger();
|
||||
|
||||
|
||||
@@ -65,9 +65,10 @@ export const PendingInvites: React.ComponentType<PropsType> = ({
|
||||
}
|
||||
|
||||
const [selectedTab, setSelectedTab] = React.useState(Tab.Requests);
|
||||
const [stagedMemberships, setStagedMemberships] = React.useState<Array<
|
||||
StagedMembershipType
|
||||
> | null>(null);
|
||||
const [
|
||||
stagedMemberships,
|
||||
setStagedMemberships,
|
||||
] = React.useState<Array<StagedMembershipType> | null>(null);
|
||||
|
||||
const allPendingMemberships = conversation.pendingMemberships || [];
|
||||
const allRequestingMemberships =
|
||||
|
||||
@@ -99,12 +99,8 @@ type GenericMediaItemWithSection<T> = {
|
||||
type: T;
|
||||
mediaItem: MediaItemType;
|
||||
};
|
||||
type MediaItemWithStaticSection = GenericMediaItemWithSection<
|
||||
StaticSectionType
|
||||
>;
|
||||
type MediaItemWithYearMonthSection = GenericMediaItemWithSection<
|
||||
YearMonthSectionType
|
||||
> & {
|
||||
type MediaItemWithStaticSection = GenericMediaItemWithSection<StaticSectionType>;
|
||||
type MediaItemWithYearMonthSection = GenericMediaItemWithSection<YearMonthSectionType> & {
|
||||
year: number;
|
||||
month: number;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user