2020-02-17 22:28:57 +01:00
|
|
|
import React, { useEffect } from 'react'
|
2020-02-04 17:20:39 +01:00
|
|
|
|
2020-02-17 22:28:57 +01:00
|
|
|
export default function Page({ title, children }) {
|
|
|
|
useEffect(() => {
|
|
|
|
document.title = title ? `${title } - PleaseWait` : 'PleaseWait';
|
|
|
|
});
|
|
|
|
|
|
|
|
return (
|
|
|
|
<div className="container-fluid">
|
|
|
|
{ children }
|
|
|
|
</div>
|
|
|
|
);
|
2020-02-04 17:20:39 +01:00
|
|
|
}
|