Skip to content

Commit 048a016

Browse files
committed
add launching kanvas button
Signed-off-by: aabidsofi19 <mailtoaabid01@gmail.com>
1 parent 55879a6 commit 048a016

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

ui/src/components/ExtensionComponent/AuthedDashboard.js

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,17 @@ const LaunchKanvasSection = ({ isDarkTheme }) => {
108108
}}
109109
>
110110
<MuiBox display={"flex"} gap={2} alignItems="center">
111-
{launching && <CircularProgress color="#eee" size="24" />}
112-
<StyledLink style={{ color: "white" }}>Launch Kanvas</StyledLink>
111+
{launching && (
112+
<CircularProgress
113+
sx={{
114+
color: "#fff",
115+
}}
116+
size="24"
117+
/>
118+
)}
119+
<StyledLink style={{ color: "white" }}>
120+
{launching ? "Launching" : "Launch"} Kanvas
121+
</StyledLink>
113122
</MuiBox>
114123
</StyledButton>
115124
</AccountDiv>

0 commit comments

Comments
 (0)