aboutsummaryrefslogtreecommitdiff
path: root/src/components/Loading/Loading.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Loading/Loading.tsx')
-rw-r--r--src/components/Loading/Loading.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/Loading/Loading.tsx b/src/components/Loading/Loading.tsx
index 30b8cda..34d436b 100644
--- a/src/components/Loading/Loading.tsx
+++ b/src/components/Loading/Loading.tsx
@@ -10,7 +10,7 @@ const useStyles = makeStyles(theme => ({
}
}));
-const Loading: React.FC = () => {
+const Loading: React.FC = React.memo(() => {
const classes = useStyles();
return (
@@ -18,7 +18,7 @@ const Loading: React.FC = () => {
<CircularProgress color="primary" style={{ margin: '0 auto' }} />
</div>
);
-};
+});
export default Loading;