Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
branches: ['main']
pull_request:
branches: ['main']
branches: ['main', 'onchainkit-v1']
permissions:
contents: read
jobs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ export function FundCardSubmitButton({
case 'loading':
return '';
case 'success':
return <SuccessSvg fill="#F9FAFB" />;
return <SuccessSvg className="fill-[#F9FAFB]" />;
case 'error':
return <ErrorSvg fill="#F9FAFB" />;
return <ErrorSvg className="fill-[#F9FAFB]" />;
default:
return null;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/onchainkit/src/internal/svg/errorSvg.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ type ErrorSvgProps = {
className?: string;
};

export const ErrorSvg = ({ className }: ErrorSvgProps) => (
export const ErrorSvg = ({ className = 'fill-[#E11D48]' }: ErrorSvgProps) => (
<svg
aria-label="ock-errorSvg"
width="16"
Expand Down
4 changes: 3 additions & 1 deletion packages/onchainkit/src/internal/svg/successSvg.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ type SuccessSvgProps = {
className?: string;
};

export const SuccessSvg = ({ className }: SuccessSvgProps) => (
export const SuccessSvg = ({
className = 'fill-[#65A30D]',
}: SuccessSvgProps) => (
<svg
aria-label="ock-successSvg"
width="16"
Expand Down
1 change: 0 additions & 1 deletion packages/onchainkit/src/wallet/components/Wallet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ const defaultWalletChildren = (
</>
);


export function Wallet({
children,
className,
Expand Down