mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-10-31 16:46:22 -04:00
consistent use of arrow functions/default exports
This commit is contained in:
34 files changed
+2956
-2985
No files matched your search
@@ -4,7 +4,7 @@ type Props = {
|
||||
width: number;
|
||||
};
|
||||
|
||||
export default function Loading({ boxes = 3, timing = 0.1, width }: Props) {
|
||||
const Loading = ({ boxes = 3, timing = 0.1, width }: Props) => {
|
||||
// each box is just an empty div
|
||||
const divs = [];
|
||||
|
||||
@@ -53,4 +53,6 @@ export default function Loading({ boxes = 3, timing = 0.1, width }: Props) {
|
||||
`}</style>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
export default Loading;
|
||||
Reference in new issue
Block a user