Remove dead code (#9035)
This commit is contained in:
parent
d1928d2cb3
commit
19e514d83c
28 changed files with 6 additions and 412 deletions
|
@ -37,7 +37,7 @@ interface IProps {
|
|||
hasCancel?: boolean;
|
||||
}
|
||||
|
||||
const AnalyticsLearnMoreDialog: React.FC<IProps> = ({
|
||||
export const AnalyticsLearnMoreDialog: React.FC<IProps> = ({
|
||||
onFinished,
|
||||
analyticsOwner,
|
||||
privacyPolicyUrl,
|
||||
|
@ -105,5 +105,3 @@ export const showDialog = (props: Omit<IProps, "cookiePolicyUrl" | "analyticsOwn
|
|||
...props,
|
||||
}, "mx_AnalyticsLearnMoreDialog_wrapper");
|
||||
};
|
||||
|
||||
export default AnalyticsLearnMoreDialog;
|
||||
|
|
|
@ -104,16 +104,3 @@ export const shareLocation = (
|
|||
handleShareError(error, openMenu, shareType);
|
||||
}
|
||||
};
|
||||
|
||||
export function textForLocation(
|
||||
uri: string,
|
||||
ts: number,
|
||||
description: string | null,
|
||||
): string {
|
||||
const date = new Date(ts).toISOString();
|
||||
if (description) {
|
||||
return `Location "${description}" ${uri} at ${date}`;
|
||||
} else {
|
||||
return `Location ${uri} at ${date}`;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -45,5 +45,3 @@ export const CollapsibleButton = ({ title, children, className, iconClassName, .
|
|||
{ children }
|
||||
</AccessibleTooltipButton>;
|
||||
};
|
||||
|
||||
export default CollapsibleButton;
|
||||
|
|
|
@ -63,5 +63,3 @@ export const KeyboardShortcut: React.FC<IKeyboardShortcutProps> = ({ value }) =>
|
|||
<KeyboardKey name={value.key} last />
|
||||
</div>;
|
||||
};
|
||||
|
||||
export default KeyboardShortcut;
|
||||
|
|
|
@ -371,5 +371,3 @@ const SpaceTreeLevel: React.FC<ITreeLevelProps> = ({
|
|||
}) }
|
||||
</ul>;
|
||||
};
|
||||
|
||||
export default SpaceTreeLevel;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue