Skip to content

Commit c610857

Browse files
committed
Code Rabbit suggestions
1 parent 4ede812 commit c610857

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/app/components/TopologyChart.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ import { useRouter } from "next/navigation";
1616
* Renders a network topology chart using vis-network based on the given devices.
1717
*
1818
* @param {TopologyChartProps} props - The properties for the topology chart.
19-
* @param {Device[]} props.devices - Array of device objects representing nodes.
19+
* @param {DeviceNode[]} props.devices - Array of device objects representing nodes.
2020
* @param {boolean} props.loading - Loading state flag.
21-
* @param {Error | null} props.error - Error state, if any.
21+
* @param {string | null} props.error - Error state, if any.
2222
*
2323
* @returns {JSX.Element} A React component rendering the network graph visualization.
2424
*/

0 commit comments

Comments
 (0)