mirror of
https://github.com/OpenCut-app/OpenCut.git
synced 2026-07-13 21:52:53 +02:00
gradient backgrounds now work
This commit is contained in:
@@ -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 &&
|
||||
|
||||
Reference in New Issue
Block a user