Skip to content
This repository has been archived by the owner on Jul 28, 2020. It is now read-only.

upgrade packages and implementation to v2 #4

Merged
merged 3 commits into from
Aug 6, 2018

Conversation

joecohens
Copy link
Contributor

No description provided.

src/index.js Outdated
@@ -1,14 +1,15 @@
import Router from 'next/router'
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should receive Router as argument on line 5 and then pass it too withGa and withFBQ.

When trying to import next/router directly on the dependency caused Router to be undefined always.

Copy link
Contributor Author

@joecohens joecohens Aug 6, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Completely agreed! I've updated the PR passing the router as a param instead of a dependency.

@sergiodxa sergiodxa merged commit b5d352b into sergiodxa:master Aug 6, 2018
@joecohens joecohens deleted the v2 branch August 6, 2018 19:14
@sergiodxa
Copy link
Owner

Great, will publish under v2 today

@joecohens
Copy link
Contributor Author

🍻

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants