File tree Expand file tree Collapse file tree 5 files changed +10
-13
lines changed Expand file tree Collapse file tree 5 files changed +10
-13
lines changed Original file line number Diff line number Diff line change 15
15
"@emotion/styled" : " ^11.11.0" ,
16
16
"@mitodl/course-search-utils" : " 3.3.2" ,
17
17
"@mitodl/mitxonline-api-axios" : " ^2025.6.3" ,
18
- "@mitodl/smoot-design" : " ^6.7 .0" ,
18
+ "@mitodl/smoot-design" : " ^6.8 .0" ,
19
19
"@next/bundle-analyzer" : " ^14.2.15" ,
20
20
"@remixicon/react" : " ^4.2.0" ,
21
21
"@sentry/nextjs" : " ^9.0.0" ,
Original file line number Diff line number Diff line change @@ -4,15 +4,14 @@ import { useFormik } from "formik"
4
4
import { useProfileMeMutation , useProfileMeQuery } from "api/hooks/profile"
5
5
import {
6
6
styled ,
7
- CircularProgress ,
8
7
CheckboxChoiceBoxField ,
9
8
CheckboxChoiceField ,
10
9
RadioChoiceField ,
11
10
SimpleSelectField ,
12
11
TextField ,
13
12
Skeleton ,
14
13
} from "ol-components"
15
- import { Button } from "@mitodl/smoot-design"
14
+ import { Button , ButtonLoadingIcon } from "@mitodl/smoot-design"
16
15
17
16
import { useLearningResourceTopics } from "api/hooks/learningResources"
18
17
import {
@@ -169,7 +168,7 @@ const ProfileContent: React.FC = () => {
169
168
type = "submit"
170
169
size = "large"
171
170
variant = "primary"
172
- endIcon = { isSaving ? < CircularProgress /> : null }
171
+ endIcon = { isSaving ? < ButtonLoadingIcon /> : null }
173
172
disabled = { ! formik . dirty || isSaving }
174
173
form = { formId }
175
174
>
Original file line number Diff line number Diff line change @@ -10,15 +10,14 @@ import {
10
10
StepIconProps ,
11
11
Container ,
12
12
LoadingSpinner ,
13
- CircularProgress ,
14
13
Typography ,
15
14
CheckboxChoiceBoxField ,
16
15
RadioChoiceBoxField ,
17
16
SimpleSelectField ,
18
17
Skeleton ,
19
18
VisuallyHidden ,
20
19
} from "ol-components"
21
- import { Button } from "@mitodl/smoot-design"
20
+ import { Button , ButtonLoadingIcon } from "@mitodl/smoot-design"
22
21
23
22
import { RiArrowRightLine , RiArrowLeftLine } from "@remixicon/react"
24
23
import { useProfileMeMutation , useProfileMeQuery } from "api/hooks/profile"
@@ -352,7 +351,7 @@ const OnboardingPage: React.FC = () => {
352
351
endIcon = {
353
352
activeStep < NUM_STEPS - 1 ? (
354
353
isSaving ? (
355
- < CircularProgress />
354
+ < ButtonLoadingIcon />
356
355
) : (
357
356
< RiArrowRightLine />
358
357
)
Original file line number Diff line number Diff line change @@ -99,7 +99,6 @@ export { default as Step } from "@mui/material/Step"
99
99
export { default as StepLabel } from "@mui/material/StepLabel"
100
100
export type { StepIconProps } from "@mui/material/StepIcon"
101
101
102
- export { default as CircularProgress } from "@mui/material/CircularProgress"
103
102
export { default as FormGroup } from "@mui/material/FormGroup"
104
103
export { default as Slider } from "@mui/material/Slider"
105
104
You can’t perform that action at this time.
0 commit comments