All files / web/modules/components Helmet.tsx

66.67% Statements 4/6
0% Branches 0/4
0% Functions 0/1
100% Lines 4/4

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 161x 1x   1x                     1x  
import * as React from 'react';
import HelmetAsync from 'react-helmet-async';
 
const Helmet = ({ title }: { title?: string }) => (
  <HelmetAsync>
    <meta charSet="utf-8" />
    <title>{`${title ? `${title} - ` : ''}KUKR.cz${
      !title
        ? ` - recenze filmů, divadelních her a dalších uměleckých představení`
        : ''
    }`}</title>
  </HelmetAsync>
);
 
export default Helmet;