format
This commit is contained in:
parent
c6ebcafaac
commit
92016c8837
@ -49,7 +49,10 @@ const DeploymentDetailsCard = ({
|
||||
prodBranchDomains,
|
||||
}: DeployDetailsCardProps) => {
|
||||
const getIconByDeploymentStatus = (status: DeploymentStatus) => {
|
||||
if (status === DeploymentStatus.Building || status === DeploymentStatus.Deleting) {
|
||||
if (
|
||||
status === DeploymentStatus.Building ||
|
||||
status === DeploymentStatus.Deleting
|
||||
) {
|
||||
return <LoadingIcon className="animate-spin" />;
|
||||
}
|
||||
if (status === DeploymentStatus.Ready) {
|
||||
|
@ -19,10 +19,7 @@ const root = ReactDOM.createRoot(
|
||||
document.getElementById('root') as HTMLElement,
|
||||
);
|
||||
|
||||
assert(
|
||||
import.meta.env.VITE_SERVER_URL,
|
||||
'VITE_SERVER_URL is not set in env',
|
||||
);
|
||||
assert(import.meta.env.VITE_SERVER_URL, 'VITE_SERVER_URL is not set in env');
|
||||
const gqlEndpoint = `${import.meta.env.VITE_SERVER_URL}/${SERVER_GQL_PATH}`;
|
||||
|
||||
const gqlClient = new GQLClient({ gqlEndpoint });
|
||||
|
Loading…
Reference in New Issue
Block a user