'use client' import { SWRConfig } from 'swr' import { api } from '@/lib/api' // Fetcher function for SWR using our axios instance const fetcher = async (url: string) => { const response = await api.get(url) return response.data } interface SWRProviderProps { children: React.ReactNode } export function SWRProvider({ children }: SWRProviderProps) { return ( ) }