export const useSolutionList = () => { const { getDirectusLocale } = useLocalizations(); const locale = getDirectusLocale(); return useAsyncData(`solution-list-${locale}`, async () => { try { const data = $fetch(`/api/cms/solutionList`, { headers: { 'x-locale': locale }, }); return data; } catch (error) { logger.error('Error fetching solution list:', error); throw error; } }); };