Skip to content

Commit

Permalink
Rename Content->ButtonWrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
0xNeshi committed Dec 11, 2023
1 parent 231bb22 commit 7582bf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/donation/Steps/DonateMethods/PayPal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ const initialOptions: ReactPayPalScriptOptions = {
export default function PayPal() {
return (
<PayPalScriptProvider options={initialOptions}>
<Content />
<ButtonWrapper />
</PayPalScriptProvider>
);
}

function Content() {
function ButtonWrapper() {
const [{ isPending }] = usePayPalScriptReducer();
return (
<div className="grid place-items-center min-h-[16rem] isolate">
Expand Down

0 comments on commit 7582bf9

Please sign in to comment.