Skip to content

Commit 6a562b1

Browse files
committed
Misc - Avoid using getValueFallback (not necessary)
1 parent f13ee73 commit 6a562b1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/components/pageLayouts/Footer.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ const Footer: React.FunctionComponent<Props> = () => {
3838
];
3939

4040
// Resolve values, handle multiple fallback levels
41-
const copyrightOwner = getValueFallback([
42-
{ record: customer, key: 'label' },
43-
]);
41+
const copyrightOwner = customer?.label;
4442
const currentYear = (new Date()).getFullYear();
4543

4644
return (

0 commit comments

Comments
 (0)