Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: disable decentralization mode for development environment #614

Merged
merged 3 commits into from
Mar 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/nine-ladybugs-watch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@carrot-kpi/host-frontend": patch
---

Disable decentralization switch for the development environment
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export const Preferences = () => {
/>
</div>
</div> */}
{!!chain?.serviceUrls.subgraph && (
{!!chain?.serviceUrls.subgraph && __ENVIRONMENT__ !== "dev" && (
<div className="flex flex-col border border-black dark:border-white rounded-lg">
<div className="flex gap-2 items-center justify-between p-4 border-b border-black dark:border-white">
<Typography
Expand Down
Loading