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:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user