23 lines
521 B
JavaScript
23 lines
521 B
JavaScript
import React from 'react';
|
|
|
|
const EmptyPage = () => {
|
|
return (
|
|
<div className="grid">
|
|
<div className="col-12">
|
|
<div className="card">
|
|
<h5>Empty Page</h5>
|
|
<p>
|
|
Use this page to start from scratch and place your custom content.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
);
|
|
};
|
|
|
|
const comparisonFn = function (prevProps, nextProps) {
|
|
return prevProps.location.pathname === nextProps.location.pathname;
|
|
};
|
|
|
|
export default React.memo(EmptyPage, comparisonFn);
|