fix: Add 'use client' directive to EVSESList component

EVSESList uses React hooks (useState, useEffect, useOne) but was missing
the 'use client' directive, causing it to be treated as a Server Component
where hooks are not available.
This commit is contained in:
Eric F
2026-06-17 19:26:27 -04:00
parent 493434a444
commit 24266d6876

View File

@@ -1,6 +1,7 @@
// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
//
// SPDX-License-Identifier: Apache-2.0
'use client';
import { ChevronDown } from 'lucide-react';
import type { ChargingStationDto, ConnectorDto, EvseDto } from '@citrineos/base';