mirror of
https://github.com/rjNemo/devbook_ts
synced 2026-06-06 02:36:39 +00:00
refactor: use React.memo
This commit is contained in:
parent
80895656b6
commit
01a5c61e81
3 changed files with 3 additions and 3 deletions
|
|
@ -41,4 +41,4 @@ const DevProfile: FC<DevSummary> = ({
|
|||
</div>
|
||||
);
|
||||
|
||||
export default DevProfile;
|
||||
export default React.memo(DevProfile);
|
||||
|
|
|
|||
|
|
@ -28,4 +28,4 @@ const Landing: FC = () => (
|
|||
</section>
|
||||
);
|
||||
|
||||
export default Landing;
|
||||
export default React.memo(Landing);
|
||||
|
|
|
|||
|
|
@ -25,4 +25,4 @@ const NotFound: FC = () => (
|
|||
</section>
|
||||
);
|
||||
|
||||
export default NotFound;
|
||||
export default React.memo(NotFound);
|
||||
|
|
|
|||
Loading…
Reference in a new issue