import ArrowLeftIcon from '@icons/arrowLeft'; import ArrowRightIcon from '@icons/arrowRight'; import useSWR from 'swr'; const fetcher = async () => { const { platform } = await import('@tauri-apps/api/os'); return await platform(); }; export function LayoutOnboarding({ children }: { children: React.ReactNode }) { const { data: platform } = useSWR('platform', fetcher); const goBack = () => { window.history.back(); }; const goForward = () => { window.history.forward(); }; return (