lazy load + nav2 link
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import React from "react";
|
||||
import { Link } from "react-router-dom";
|
||||
|
||||
import { URLs } from "../../__data__/urls";
|
||||
|
||||
export const AboutPage = () => {
|
||||
return (
|
||||
<div>
|
||||
<h1>about page</h1>
|
||||
{URLs.profile.isOn && <Link to={URLs.profile.getUrl()}>go to profile page</Link>}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user