Skip to content

Commit 6b2fe17

Browse files
Megha-Dev-19petersalomonsenclaude
authored
Fixes (#739)
Co-authored-by: Peter Salomonsen <pjsalomonsen@gmail.com> Co-authored-by: Claude <noreply@anthropic.com>
1 parent 8fc2ef6 commit 6b2fe17

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

instances/treasury-factory.near/widget/app.jsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,14 @@ return (
8282
<Theme>
8383
<ThemeContainer>
8484
<AppLayout>
85+
<Widget
86+
loading=""
87+
src="${REPL_DEVDAO_ACCOUNT}/widget/components.AnnouncementBanner"
88+
props={{
89+
instance: "${REPL_BASE_DEPLOYMENT_ACCOUNT}",
90+
}}
91+
/>
92+
8593
<Page />
8694
</AppLayout>
8795
</ThemeContainer>

instances/treasury-factory.near/widget/components/create-treasury/CreateAppAccountStep.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ const AccountDisplay = ({ label, prefix, tooltipInfo, noBorder }) => {
108108
<i className="mx-1 bi bi-info-circle text-secondary" />
109109
</OverlayTrigger>
110110
</div>
111-
<span className="h6 mb-0 align-items-center">
111+
<span className="h6 mb-0 align-items-center text-break">
112112
<span className="text-primary">{formFields.accountName}</span>
113113
<span style={{ marginLeft: "-5px" }}>{prefix}</span>
114114
</span>

instances/widgets.treasury-factory.near/widget/components/Profile.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ const ReceiverAccountComponent = (
142142
)}
143143

144144
<div className="d-flex flex-column" style={{ minWidth: 0, flex: 1 }}>
145-
{displayName && (
145+
{displayName && name && (
146146
<div className="mb-0 text-truncate" title={name}>
147147
{name}
148148
</div>

web4/public_html/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,7 @@
784784
<button>
785785
<img src="${imageSrc}" />
786786
<div class="text-align-left">
787-
<h6> ${name} </h6>
787+
${name ?`<h6> ${name} </h6>` : ''}
788788
<div style="opacity: 0.5; font-size: 12px"> ${accountId} </div>
789789
</div>
790790
<svg

0 commit comments

Comments
 (0)