Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
fix(trackingroot): reorder base context arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandofleury committed Aug 18, 2020
1 parent 63555c4 commit ad617d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/TrackingRoot/TrackingRoot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ const TrackingRoot = ({ name, onDispatch, children }: Props) => {
const contextValue = React.useMemo(
() => ({
app: name,
elementTree: [],
dispatch: onDispatch
dispatch: onDispatch,
elementTree: []
}),
[name, onDispatch]
);
Expand Down

0 comments on commit ad617d6

Please sign in to comment.