Skip to content

Commit

Permalink
Fix Library issues and some loading states
Browse files Browse the repository at this point in the history
  • Loading branch information
itexpert120 committed Feb 1, 2024
1 parent 39d22d4 commit 435557c
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
10 changes: 7 additions & 3 deletions apps/builddao/widget/components/Library.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,12 @@ const components = [
},
preview: (
<>
{/* <div className="d-flex align-items-center gap-3 mb-3">
<div className="d-flex align-items-center gap-3 mb-3">
<ProgressState status="default">1</ProgressState>
<ProgressState status="focused">1</ProgressState>
<ProgressState status="error">1</ProgressState>
<ProgressState status="completed">1</ProgressState>
</div> */}
</div>
</>
),
embedCode: `
Expand Down Expand Up @@ -274,7 +274,11 @@ const components = [
preview: (
<>
<div className="d-flex flex-column gap-3 mb-3">
<Checkbox label="Checkbox" />
<Checkbox
value={checked}
onChange={(e) => setChecked(!checked)}
label="Checkbox"
/>
</div>
</>
),
Expand Down
2 changes: 1 addition & 1 deletion apps/builddao/widget/components/Post.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ return (
<div className="ms-5 my-3">
<Widget
key="comments"
loading={false}
loading={""}
src="mob.near/widget/MainPage.N.Comment.Feed"
props={{
item,
Expand Down
2 changes: 1 addition & 1 deletion apps/builddao/widget/components/User.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const Overlay = (props) => (
>
<Widget
src="mob.near/widget/Profile.N.OverlayTrigger"
loading={props.children}
loading={""}
props={{
accountId,
children: props.children,
Expand Down
2 changes: 1 addition & 1 deletion apps/builddao/widget/components/navigation/header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const SignInOrConnect = () => (
{context.accountId ? (
<Widget
src="buildhub.near/widget/components.buttons.Connect"
loading="User Dropdown"
loading=""
props={{
connectedChildren: (
<Widget
Expand Down
2 changes: 1 addition & 1 deletion apps/builddao/widget/components/post/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const Overlay = (props) => (
>
<Widget
src="mob.near/widget/Profile.N.OverlayTrigger"
loading={props.children}
loading={""}
props={{
accountId,
children: props.children,
Expand Down

0 comments on commit 435557c

Please sign in to comment.