Skip to content

Commit

Permalink
bru
Browse files Browse the repository at this point in the history
  • Loading branch information
saboooor committed Jun 21, 2024
1 parent 239885d commit a737da5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"url": "git+https://github.com/birdflop/web.git"
},
"engines": {
"node": ">=15.0.0"
"node": ">=20.0.0"
},
"author": "LuminescentDev",
"license": "AGPL-3.0-or-later",
Expand Down
4 changes: 2 additions & 2 deletions src/routes/resources/rgb/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export default component$(() => {
}}>
<Add width="19" />
</div>
{store.colors.map((color, i) => <div class="absolute -mt-1 -ml-3" key={i}
{store.colors.map((color, i) => <div class="absolute -mt-1 -ml-3" key={`${i}/${store.colors.length}`}
onMouseDown$={(e, el) => {
const abortController = new AbortController();
const colormap = document.getElementById('colormap')!;
Expand Down Expand Up @@ -345,7 +345,7 @@ export default component$(() => {
</Button>
</div>
<div class="flex flex-col gap-2">
{store.colors.map((color, i) => <div key={i} class="flex relative gap-2">
{store.colors.map((color, i) => <div key={`${i}/${store.colors.length}`} class="flex relative gap-2">
<div class="bg-gray-800 flex flex-col rounded-md border border-gray-700">
<Button size="sm" square transparent onClick$={() => handleSwap(i, i - 1)} class={{ 'border-0': true }}>
<ChevronUp width="20" />
Expand Down

0 comments on commit a737da5

Please sign in to comment.