summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2024-09-21 13:30:07 +0200
committerYuval Adam <_@yuv.al>2024-09-21 15:13:25 +0200
commitef140f9917913dd2c03ecc513d742a18a99af10a (patch)
tree82bcd9f5ccda00e4c6e8a08b7a52d5b16a6e7c1d
parentfa63f3c735f381ca480a879f382fe0b68e1d16cc (diff)
Fix build
-rw-r--r--app/page.tsx4
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));