Skip to content

Commit

Permalink
replacements for testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotBraem committed Dec 26, 2023
1 parent 6b56e41 commit 7ff903b
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion replacements.dev.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"REPL_DEVHUB": "devhub-dev.testnet",
"REPL_DEVHUB_LEGACY": "devhub-dev.testnet",
"REPL_DEVHUB_CONTRACT": "thomaspreview.testnet",
"REPL_DEVHUB_CONTRACT": "bodevhub.testnet",
"REPL_NEAR": "discom.testnet",
"REPL_MOB": "eugenethedream",
"REPL_EFIZ": "efiz.testnet"
Expand Down
8 changes: 4 additions & 4 deletions src/devhub/components/layout/LikeButton/Faces.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,16 @@ return (
{renderFaces.map((accountId, i) => (
<a
key={i}
href={`#/mob.near/widget/ProfilePage?accountId=${accountId}`}
href={`#/${REPL_MOB}/widget/ProfilePage?accountId=${accountId}`}
className="text-decoration-none d-inline-block"
>
<Widget
src="mob.near/widget/Profile.OverlayTrigger"
src="${REPL_MOB}/widget/Profile.OverlayTrigger"
props={{
accountId,
children: (
<Widget
src="mob.near/widget/ProfileImage"
src="${REPL_MOB}/widget/ProfileImage"
props={{
metadata,
accountId,
Expand Down Expand Up @@ -100,7 +100,7 @@ return (
{faces.slice(0, 10).map((accountId, i) => (
<Fragment key={i}>
<Widget
src="mob.near/widget/ProfileLine"
src="${REPL_MOB}/widget/ProfileLine"
props={{ accountId, link: false }}
/>
<br />
Expand Down
4 changes: 2 additions & 2 deletions src/devhub/components/molecule/ProfileCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const ProfileCard = (props) => {
{!hideImage && (
<Widget
key="image"
src="mob.near/widget/ProfileImage"
src="${REPL_MOB}/widget/ProfileImage"
props={{
style: { width: "2.5em", height: "2.5em", marginRight: "0.3em" },
profile,
Expand Down Expand Up @@ -80,7 +80,7 @@ const ProfileCard = (props) => {
if (props.tooltip === true) {
return (
<Widget
src="mob.near/widget/Profile.OverlayTrigger"
src="${REPL_MOB}/widget/Profile.OverlayTrigger"
props={{ accountId, children: inner }}
/>
);
Expand Down
2 changes: 1 addition & 1 deletion src/devhub/entity/community/Announcements.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ return (
loading={
<div className="w-100" style={{ height: "200px" }} />
}
src="mob.near/widget/MainPage.N.Post"
src="${REPL_MOB}/widget/MainPage.N.Post"
props={{
accountId: p.accountId,
blockHeight: p.blockHeight,
Expand Down
2 changes: 1 addition & 1 deletion src/devhub/entity/post/History.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const history = (
{readableDate(item.timestamp / 1000000)}

<Widget
src="mob.near/widget/ProfileImage"
src="${REPL_MOB}/widget/ProfileImage"
props={{
accountId: item.editor_id,
style: {
Expand Down
2 changes: 1 addition & 1 deletion src/devhub/page/profile.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ if (!accountId) {

return (
<div className="w-100 bg-white overflow-hidden px-3">
<Widget src="mob.near/widget/ProfilePage" props={{ accountId }} />
<Widget src="${REPL_MOB}/widget/ProfilePage" props={{ accountId }} />
</div>
);

0 comments on commit 7ff903b

Please sign in to comment.