{
}
if (profileLoading || !profile) {
- return ;
+ return ;
}
const { completed, credit, pending, total, url } = profile?.referrals;
diff --git a/packages/manager/src/features/StackScripts/StackScriptBase/StackScriptBase.tsx b/packages/manager/src/features/StackScripts/StackScriptBase/StackScriptBase.tsx
index 4a284dfe15a..4d183833047 100644
--- a/packages/manager/src/features/StackScripts/StackScriptBase/StackScriptBase.tsx
+++ b/packages/manager/src/features/StackScripts/StackScriptBase/StackScriptBase.tsx
@@ -249,7 +249,7 @@ const withStackScriptBase = (options: WithStackScriptBaseOptions) => (
*/}
{gettingMoreStackScripts && !isSorting && (
-
+
)}
diff --git a/packages/manager/src/features/Support/SupportTicketDetail/SupportTicketDetail.tsx b/packages/manager/src/features/Support/SupportTicketDetail/SupportTicketDetail.tsx
index 28dcbb0ebfe..f25f248db17 100644
--- a/packages/manager/src/features/Support/SupportTicketDetail/SupportTicketDetail.tsx
+++ b/packages/manager/src/features/Support/SupportTicketDetail/SupportTicketDetail.tsx
@@ -125,7 +125,7 @@ export const SupportTicketDetail = () => {
ticketUpdated={ticket ? ticket.updated : ''}
/>
))}
- {repliesLoading && }
+ {repliesLoading && }
{repliesError ? (
) : null}
diff --git a/packages/manager/src/features/VPCs/VPCDetail/SubnetLinodeRow.tsx b/packages/manager/src/features/VPCs/VPCDetail/SubnetLinodeRow.tsx
index 99d256362d6..4879592020f 100644
--- a/packages/manager/src/features/VPCs/VPCDetail/SubnetLinodeRow.tsx
+++ b/packages/manager/src/features/VPCs/VPCDetail/SubnetLinodeRow.tsx
@@ -102,7 +102,7 @@ export const SubnetLinodeRow = (props: Props) => {
return (
-
+
);
diff --git a/packages/manager/src/features/Volumes/VolumeDrawer/PricePanel.tsx b/packages/manager/src/features/Volumes/VolumeDrawer/PricePanel.tsx
index ad1ee389651..ffa3a5119d8 100644
--- a/packages/manager/src/features/Volumes/VolumeDrawer/PricePanel.tsx
+++ b/packages/manager/src/features/Volumes/VolumeDrawer/PricePanel.tsx
@@ -1,11 +1,12 @@
-import { CircularProgress } from '@mui/material';
import * as React from 'react';
import { Box } from 'src/components/Box';
+import { CircleProgress } from 'src/components/CircleProgress';
import { DisplayPrice } from 'src/components/DisplayPrice';
import { MAX_VOLUME_SIZE } from 'src/constants';
import { useVolumeTypesQuery } from 'src/queries/volumes/volumes';
import { getDCSpecificPriceByType } from 'src/utilities/pricing/dynamicPricing';
+
interface Props {
currentSize: number;
regionId: string;
@@ -34,13 +35,17 @@ export const PricePanel = ({ currentSize, regionId, value }: Props) => {
: getPrice(currentSize);
const price = getClampedPrice(value, currentSize);
+ if (isLoading) {
+ return (
+
+
+
+ );
+ }
+
return (
- {isLoading ? (
-
- ) : (
-
- )}
+
);
};
diff --git a/packages/manager/src/features/Volumes/VolumeDrawer/SizeField.tsx b/packages/manager/src/features/Volumes/VolumeDrawer/SizeField.tsx
index bad1abae3ab..71b8b6f3b29 100644
--- a/packages/manager/src/features/Volumes/VolumeDrawer/SizeField.tsx
+++ b/packages/manager/src/features/Volumes/VolumeDrawer/SizeField.tsx
@@ -1,9 +1,9 @@
-import { CircularProgress } from '@mui/material';
import { Theme } from '@mui/material/styles';
import * as React from 'react';
import { makeStyles } from 'tss-react/mui';
import { Box } from 'src/components/Box';
+import { CircleProgress } from 'src/components/CircleProgress';
import { FormHelperText } from 'src/components/FormHelperText';
import { InputAdornment } from 'src/components/InputAdornment';
import { TextField } from 'src/components/TextField';
@@ -117,7 +117,7 @@ export const SizeField = (props: Props) => {
/>
{shouldShowPriceLoadingSpinner ? (
-
+
) : hasSelectedRegion ? (
priceDisplayText
) : (
diff --git a/packages/manager/src/features/Volumes/VolumesLanding.tsx b/packages/manager/src/features/Volumes/VolumesLanding.tsx
index d0c4cd8e3ee..662cb870e29 100644
--- a/packages/manager/src/features/Volumes/VolumesLanding.tsx
+++ b/packages/manager/src/features/Volumes/VolumesLanding.tsx
@@ -1,10 +1,10 @@
import * as React from 'react';
import { useHistory, useLocation } from 'react-router-dom';
+import { CircleProgress } from 'src/components/CircleProgress';
import { DocumentTitleSegment } from 'src/components/DocumentTitle';
import { ErrorState } from 'src/components/ErrorState/ErrorState';
import { LandingHeader } from 'src/components/LandingHeader';
-import { LandingLoading } from 'src/components/LandingLoading/LandingLoading';
import { PaginationFooter } from 'src/components/PaginationFooter/PaginationFooter';
import { Table } from 'src/components/Table';
import { TableBody } from 'src/components/TableBody';
@@ -115,7 +115,7 @@ export const VolumesLanding = () => {
};
if (isLoading) {
- return ;
+ return ;
}
if (error) {
diff --git a/packages/manager/src/foundations/themes/light.ts b/packages/manager/src/foundations/themes/light.ts
index 1c2c63b87e1..75c064890b4 100644
--- a/packages/manager/src/foundations/themes/light.ts
+++ b/packages/manager/src/foundations/themes/light.ts
@@ -552,6 +552,9 @@ export const lightTheme: ThemeOptions = {
},
},
MuiCircularProgress: {
+ defaultProps: {
+ disableShrink: true,
+ },
styleOverrides: {
circle: {
strokeLinecap: 'inherit',