Skip to content

Commit

Permalink
fix: validateDOMNesting(...): <div> cannot appear as a descendant of <p>
Browse files Browse the repository at this point in the history
  • Loading branch information
0xpatrickdev committed Mar 7, 2024
1 parent bb7e98c commit 654f050
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/DepositSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const DepositSection: React.FC<unknown> = () => {
className="block w-full rounded-md border-0 py-3 text-gray-900 shadow-sm ring-1 ring-inset ring-light placeholder:text-gray-400 focus:ring-1 focus:ring-inset focus:ring-red max-w-[250px]"
/>

<p className="mt-[10px] text-sm text-blue bg-white p-[20px] rounded-md">
<div className="mt-[10px] text-sm text-blue bg-white p-[20px] rounded-md">
<div className={`flex items-center border-b pb-3 mb-3`}>
<div className={`basis-auto pr-3`}>
<svg
Expand Down Expand Up @@ -139,7 +139,7 @@ export const DepositSection: React.FC<unknown> = () => {
</span>
</div>
</div>
</p>
</div>
</div>
</div>
);
Expand Down

0 comments on commit 654f050

Please sign in to comment.