Skip to content

Commit 5c8d638

Browse files
committed
🍹fix: customization errors
1 parent eb073e8 commit 5c8d638

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/Widget.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export const Widget = (props: WidgetProps) => {
3838
// run when the props are changed
3939
useEffect(() => {
4040
// If border radius passed is greater than 1.2, set it to 1.2. Default value is 1
41-
const _borderRadius = customize?.borderRadius
41+
const _borderRadius = customize?.borderRadius !== undefined
4242
? customize?.borderRadius > 1.2
4343
? 1.2
4444
: customize?.borderRadius

src/components/common/ChainSelect.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function Option({
2929
return (
3030
<div
3131
className={`flex w-28 gap-1 items-center cursor-pointer ${
32-
selected ? "" : "p-1.5 hover:bg-widget-primary"
32+
selected ? "" : "p-1.5 hover:bg-widget-secondary hover:bg-opacity-80"
3333
}`}
3434
onClick={onClick}
3535
>

0 commit comments

Comments
 (0)