export function getCurrentPage() { const pages = getCurrentPages(); const page = pages[pages.length - 1]; return page; }