Skip to content

Commit

Permalink
Misc - Avoid using getValueFallback (not necessary)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadorequest committed Jun 2, 2020
1 parent f13ee73 commit 6a562b1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/pageLayouts/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ const Footer: React.FunctionComponent<Props> = () => {
];

// Resolve values, handle multiple fallback levels
const copyrightOwner = getValueFallback([
{ record: customer, key: 'label' },
]);
const copyrightOwner = customer?.label;
const currentYear = (new Date()).getFullYear();

return (
Expand Down

0 comments on commit 6a562b1

Please sign in to comment.