diff --git a/nextjs-interface/src/app/ui/dashboard/RenameElement.tsx b/nextjs-interface/src/app/ui/dashboard/RenameElement.tsx
index da10aab..1f6c658 100644
--- a/nextjs-interface/src/app/ui/dashboard/RenameElement.tsx
+++ b/nextjs-interface/src/app/ui/dashboard/RenameElement.tsx
@@ -9,6 +9,7 @@ import {
PopoverContent,
PopoverTrigger,
} from "@/components/ui/popover";
+import useFindIpById from "@/lib/data";
export default function RenameElement({ id }: { id: string }) {
const [newName, setNewName] = useState("");
@@ -32,6 +33,7 @@ export default function RenameElement({ id }: { id: string }) {
} else {
}
};
+ const ip = useFindIpById(id);
return (
@@ -67,7 +69,7 @@ export default function RenameElement({ id }: { id: string }) {
)}
-
+
diff --git a/nextjs-interface/src/app/ui/dashboard/SeeToken.tsx b/nextjs-interface/src/app/ui/dashboard/SeeToken.tsx
index 6f6bbb5..56ccbdc 100644
--- a/nextjs-interface/src/app/ui/dashboard/SeeToken.tsx
+++ b/nextjs-interface/src/app/ui/dashboard/SeeToken.tsx
@@ -2,7 +2,7 @@ import { Button } from "@/components/ui/button";
import React, { useState } from "react";
import ShowToken from "@/app/ui/dashboard/ShowToken";
-export default function SeeToken(ip: any) {
+export default function SeeToken({ ip }: { ip: string }) {
const [showToken, setShowToken] = useState(false);
const toggleToken = () => {