Created OrphanVisitsTitle test

This commit is contained in:
Alejandro Celaya
2021-02-28 08:52:31 +01:00
parent 115038f80f
commit d7edd69e60
2 changed files with 22 additions and 2 deletions

View File

@@ -9,7 +9,6 @@ interface OrphanVisitsHeader {
export const OrphanVisitsHeader = ({ orphanVisits, goBack }: OrphanVisitsHeader) => {
const { visits } = orphanVisits;
const visitsStatsTitle = <span className="mr-2">Orphan visits</span>;
return <VisitsHeader title={visitsStatsTitle} goBack={goBack} visits={visits} />;
return <VisitsHeader title="Orphan visits" goBack={goBack} visits={visits} />;
};