Skip to content

Commit 8f0ccfb

Browse files
committed
bugfix: situations when service is equals to null
1 parent 418eb3e commit 8f0ccfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vis/js/components/Footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const Footer: FC<FooterProps> = ({
2424
}) => {
2525
const { isStreamgraph } = useVisualizationType();
2626

27-
if (service.startsWith("triple") || SUPPORTED_SERVICES.includes(service)) {
27+
if (service?.startsWith("triple") || SUPPORTED_SERVICES.includes(service)) {
2828
const FAQUrl = isStreamgraph ? faqsUrlStr : faqsUrl;
2929

3030
return (

0 commit comments

Comments
 (0)