Skip to content

Commit

Permalink
PR Feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinoConti committed Feb 5, 2025
1 parent 46b2572 commit cdf4554
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions apps/connect/src/components/atoms/Connect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import WormholeConnect, {
nttRoutes,
} from "@wormhole-foundation/wormhole-connect";
import { useConnectConfig } from "../../hooks/useConnectConfig";
import { styled } from "@mui/material";
import { styled, CircularProgress } from "@mui/material";
import { NAVBAR_WIDTH } from "./NavBar";
import { theme } from "../../theme/connect";
import { Banner } from "./Banner";
Expand Down Expand Up @@ -64,7 +64,16 @@ export const Connect = memo(() => {
return (
<Container>
{isLoading ? (
<div>Loading...</div>
<div
style={{
display: "flex",
justifyContent: "center",
alignItems: "self-end",
height: "100%",
}}
>
<CircularProgress size={30} />
</div>
) : (
<>
{!!config && <WormholeConnect config={config} theme={theme} />}
Expand Down

0 comments on commit cdf4554

Please sign in to comment.