Merge remote-tracking branch 'upstream/dev'

This commit is contained in:
thororen1234 2024-06-20 12:35:54 -04:00
commit cd96099b3d
31 changed files with 347 additions and 202 deletions

View file

@ -120,7 +120,7 @@ export function openImageModal(url: string, props?: Partial<React.ComponentProps
placeholder={url}
src={url}
renderLinkComponent={props => <MaskedLink {...props} />}
// FIXME: wtf is this? do we need to pass some proper component??
// Don't render forward message button
renderForwardComponent={() => null}
shouldHideMediaOptions={false}
shouldAnimate

View file

@ -38,7 +38,7 @@ const enum ModalTransitionState {
export interface ModalProps {
transitionState: ModalTransitionState;
onClose(): Promise<void>;
onClose(): void;
}
export interface ModalOptions {