diff options
| author | Yuval Adam <_@yuv.al> | 2024-09-21 13:30:07 +0200 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2024-09-21 15:13:25 +0200 |
| commit | ef140f9917913dd2c03ecc513d742a18a99af10a (patch) | |
| tree | 82bcd9f5ccda00e4c6e8a08b7a52d5b16a6e7c1d | |
| parent | fa63f3c735f381ca480a879f382fe0b68e1d16cc (diff) | |
Fix build
| -rw-r--r-- | app/page.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/page.tsx b/app/page.tsx index 091d2f6..c16b26a 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,12 +1,12 @@ "use client" import React, { useState } from 'react'; -import { Netmask } from 'netmask'; +// import { Netmask } from 'netmask'; export default function Cidr() { const [ip, setIp] = useState([10, 88, 135, 144]); const [cidr, setCidr] = useState(28); - const [cols, _setCols] = useState(["bg-purple-400", "bg-red-400", "bg-green-400", "bg-yellow-400"]); + const [cols] = useState(["bg-purple-400", "bg-red-400", "bg-green-400", "bg-yellow-400"]); const bits = ip.map(octet => Array.from({ length: 8 }, (_, i) => (octet >> (7 - i)) & 1)); |
