diff --git a/src/components/PostmanTable.js b/src/components/PostmanTable.js index a76cb9a8..5ce25661 100644 --- a/src/components/PostmanTable.js +++ b/src/components/PostmanTable.js @@ -1,9 +1,8 @@ -import React, { useState, useMemo } from 'react'; +import React, { useState } from 'react'; import { ChevronLeft, Braces, List, Type, Hash, ToggleLeft, Minus } from 'lucide-react'; const PostmanTable = ({ data, title = "JSON Data" }) => { const [currentPath, setCurrentPath] = useState([]); - const [selectedRowIndex, setSelectedRowIndex] = useState(null); // Get current data based on path const getCurrentData = () => { @@ -158,10 +157,6 @@ const PostmanTable = ({ data, title = "JSON Data" }) => { } }; - // Check if value is a complex object (not a primitive) - const isComplexValue = (value) => { - return value !== null && typeof value === 'object'; - }; // Render value with appropriate styling const renderValue = (value) => {