This commit is contained in:
Tom Moor
2021-01-14 20:11:04 -08:00
parent c8d305aeca
commit ab40545a01
2 changed files with 8 additions and 2 deletions

View File

@@ -38,7 +38,13 @@ type Props = {
shorten?: boolean,
};
function LocaleTime({ addSuffix, children, dateTime, shorten, tooltipDelay }: Props) {
function LocaleTime({
addSuffix,
children,
dateTime,
shorten,
tooltipDelay,
}: Props) {
const userLocale = useUserLocale();
const [_, setMinutesMounted] = React.useState(0); // eslint-disable-line no-unused-vars
const callback = React.useRef();