chore: update codestyle due to prettier/rule updates

This commit is contained in:
41666 2021-06-30 08:02:25 -04:00
parent f632bfa6e5
commit 10e095656f
16 changed files with 298 additions and 292 deletions

View file

@ -10,9 +10,10 @@ type DynamicLogoProps = LogoFlagProps & {
};
export const DynamicLogomark = (props: Partial<DynamicLogoProps>) => {
const variant = React.useMemo(() => getRelevantVariant(props.currentDate), [
props.currentDate,
]);
const variant = React.useMemo(
() => getRelevantVariant(props.currentDate),
[props.currentDate]
);
if (!variant) {
return <Logomark {...props} />;
@ -35,9 +36,10 @@ export const DynamicLogomark = (props: Partial<DynamicLogoProps>) => {
};
export const DynamicLogotype = (props: Partial<DynamicLogoProps>) => {
const variant = React.useMemo(() => getRelevantVariant(props.currentDate), [
props.currentDate,
]);
const variant = React.useMemo(
() => getRelevantVariant(props.currentDate),
[props.currentDate]
);
if (!variant) {
return <Logotype {...props} />;