Skip to content

Commit

Permalink
fix IDs
Browse files Browse the repository at this point in the history
  • Loading branch information
patrykkopycinski committed Sep 4, 2020
1 parent acd399d commit c4d32fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,12 @@ interface UseNetworkTopCountries {
endDate: string;
startDate: string;
skip: boolean;
id?: string;
}

export const useNetworkTopCountries = ({
endDate,
filterQuery,
flowTarget,
id = ID,
skip,
startDate,
type,
Expand Down Expand Up @@ -101,7 +99,7 @@ export const useNetworkTopCountries = ({
NetworkTopCountriesArgs
>({
networkTopCountries: [],
id: ID,
id: `${ID}-${flowTarget}`,
inspect: {
dsl: [],
response: [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,12 @@ interface UseNetworkTopNFlow {
endDate: string;
startDate: string;
skip: boolean;
id?: string;
}

export const useNetworkTopNFlow = ({
endDate,
filterQuery,
flowTarget,
id = ID,
skip,
startDate,
type,
Expand Down Expand Up @@ -99,7 +97,7 @@ export const useNetworkTopNFlow = ({

const [networkTopNFlowResponse, setNetworkTopNFlowResponse] = useState<NetworkTopNFlowArgs>({
networkTopNFlow: [],
id: ID,
id: `${ID}-${flowTarget}`,
inspect: {
dsl: [],
response: [],
Expand Down

0 comments on commit c4d32fe

Please sign in to comment.