"use server"; export async function getIslands() { const res = await fetch(`${process.env.SARLINK_API_BASE_URL}/islands/`, { method: "GET", headers: { "Content-Type": "application/json", }, }); const data = await res.json(); return data; }