Skip to content

Commit

Permalink
resolved more cinflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
rishsingh07 committed Jan 11, 2022
1 parent 69d0550 commit f5632af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
1 change: 0 additions & 1 deletion next-env.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/// <reference types="next" />
/// <reference types="next/types/global" />
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
Expand Down
16 changes: 3 additions & 13 deletions src/Layout/QueryParamContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,10 @@ export const QueryParamContext = React.createContext({
paymentError: "",
setPaymentError: (value: string) => { },
amount: null,
<<<<<<< HEAD
setAmount: (value: number) => {},
taxIdentificationAvail: {},
setTaxIdentificationAvail: (value: boolean) => {}
=======
setAmount: (value: number) => { },
taxIdentificationAvail: {},
setTaxIdentificationAvail: (value: boolean) => {},
callbackMethod: "",
>>>>>>> develop
});

export default function QueryParamProvider({ children }: any) {
Expand Down Expand Up @@ -139,12 +135,9 @@ export default function QueryParamProvider({ children }: any) {
const [country, setcountry] = useState<string | string[]>("");
const [currency, setcurrency] = useState("");
const [returnTo, setreturnTo] = useState("");
<<<<<<< HEAD
const [taxIdentificationAvail, setTaxIdentificationAvail] = useState(false)
=======
const [callbackMethod, setCallbackMethod] = useState("");

>>>>>>> develop
const [redirectstatus, setredirectstatus] = useState(null);

const [shouldCreateDonation, setshouldCreateDonation] = useState(false);
Expand Down Expand Up @@ -482,12 +475,9 @@ export default function QueryParamProvider({ children }: any) {
setAmount,
transferDetails,
setTransferDetails,
<<<<<<< HEAD
taxIdentificationAvail,
setTaxIdentificationAvail
=======
setTaxIdentificationAvail,
callbackMethod,
>>>>>>> develop
}}
>
{children}
Expand Down

0 comments on commit f5632af

Please sign in to comment.