Reformat all project files to use the prettier config file.

This commit is contained in:
Patrick Fic
2024-03-27 15:35:07 -07:00
parent b161530381
commit e1df64d592
873 changed files with 111387 additions and 125473 deletions

View File

@@ -1,24 +1,24 @@
import React from "react";
import {Spin} from "antd";
import { Spin } from "antd";
import "./loading-spinner.styles.scss";
export default function LoadingSpinner({loading = true, message, ...props}) {
return (
<div className="loading-spinner">
<Spin
spinning={loading}
size="large"
style={{
position: "relative",
alignContent: "center"
}}
// TODO: Client Update - if anything funky happens check this out
{...(props.children ? {tip: message ? message : null} : {})}
delay={200}
// TODO: Client Update - tip only works when there are actually children, and this component is used in a lot of places where there are no children
>
{props.children}
</Spin>
</div>
);
export default function LoadingSpinner({ loading = true, message, ...props }) {
return (
<div className="loading-spinner">
<Spin
spinning={loading}
size="large"
style={{
position: "relative",
alignContent: "center"
}}
// TODO: Client Update - if anything funky happens check this out
{...(props.children ? { tip: message ? message : null } : {})}
delay={200}
// TODO: Client Update - tip only works when there are actually children, and this component is used in a lot of places where there are no children
>
{props.children}
</Spin>
</div>
);
}