Ensured visits loading is cancelled when the visits page is unmounted

This commit is contained in:
Alejandro Celaya
2019-03-08 19:40:43 +01:00
parent 24bbbf6cb1
commit 3982d77775
5 changed files with 45 additions and 9 deletions

View File

@@ -29,6 +29,7 @@ describe('<ShortUrlVisits />', () => {
match={match}
shortUrlVisits={shortUrlVisits}
shortUrlDetail={{}}
cancelGetShortUrlVisits={identity}
/>
);