mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-06-19 12:15:27 -04:00
refactor: eslint/prettier ➡️ biome
This commit is contained in:
@@ -9,12 +9,10 @@ const intlFormatter = makeIntlFormatter({
|
||||
numeric: "auto",
|
||||
});
|
||||
|
||||
const RelativeTime = ({ ...rest }: React.ComponentProps<typeof TimeAgo>) => {
|
||||
return (
|
||||
<span suppressHydrationWarning>
|
||||
<TimeAgo formatter={intlFormatter} {...rest} />
|
||||
</span>
|
||||
);
|
||||
};
|
||||
const RelativeTime = ({ ...rest }: React.ComponentProps<typeof TimeAgo>) => (
|
||||
<span suppressHydrationWarning>
|
||||
<TimeAgo formatter={intlFormatter} {...rest} />
|
||||
</span>
|
||||
);
|
||||
|
||||
export { RelativeTime };
|
||||
|
||||
Reference in New Issue
Block a user