import React, { useEffect } from 'react' export default function Page({ title, children }) { useEffect(() => { document.title = title ? `${title } - PleaseWait` : 'PleaseWait'; }); return (