gradient backgrounds now work

This commit is contained in:
Maze Winther
2025-08-31 14:35:24 +02:00
parent 29fdd8568d
commit 73a156c002
3 changed files with 186 additions and 3 deletions
@@ -178,9 +178,9 @@ const BackgroundPreviews = memo(
}) => {
return useMemo(
() =>
backgrounds.map((bg) => (
backgrounds.map((bg, index) => (
<div
key={bg}
key={`${index}-${bg}`}
className={cn(
"w-full aspect-square rounded-sm cursor-pointer border border-foreground/15 hover:border-primary",
isColorBackground &&