Skip to content

Commit 7c49ff4

Browse files
committed
fix: removed unused computation
1 parent 65f8278 commit 7c49ff4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/components/color.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ export function Color({ name, shade }: { name: string; shade: string }) {
5757
return () => clearTimeout(timeout);
5858
}, [justCopied]);
5959

60-
const whiteHasContrastAgainstShade = Number(shade) > 400;
61-
6260
return (
6361
<Tooltip as="div" showDelayMs={100} hideDelayMs={0} className="relative">
6462
<TooltipTrigger>

0 commit comments

Comments
 (0)