Skip to content

Commit

Permalink
Set paseo as default network
Browse files Browse the repository at this point in the history
Resolves #424
  • Loading branch information
Bullrich committed Jun 21, 2024
1 parent 3dc7e9c commit b74aaaf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions client/src/lib/utils/networkData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ export const Paseo: NetworkData = {
};

export const Networks: { network: NetworkData; url: string }[] = [
{ network: Rococo, url: (base as string) || "/" },
{ network: Paseo, url: `${base as string}/paseo` },
{ network: Paseo, url: `${base as string}/` },
{ network: Rococo, url: (base as string) || "/rococo" },
{ network: Westend, url: `${base as string}/westend` },
];

Expand Down
4 changes: 2 additions & 2 deletions client/src/routes/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<script lang="ts">
import faqMd from "$lib/assets/FAQ.md?raw";
import Faucet from "$lib/components/Faucet.svelte";
import { type NetworkData, Rococo } from "$lib/utils/networkData";
import { type NetworkData, Paseo } from "$lib/utils/networkData";
let network: NetworkData = Rococo;
let network: NetworkData = Paseo;
let faq: string = faqMd
.replaceAll("<NETWORK-TOKEN>", network.currency)
.replaceAll("<NETWORK-NAME>", network.networkName);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<script lang="ts">
import faqMd from "$lib/assets/FAQ.md?raw";
import Faucet from "$lib/components/Faucet.svelte";
import { type NetworkData, Paseo } from "$lib/utils/networkData";
import { type NetworkData, Rococo } from "$lib/utils/networkData";
let network: NetworkData = Paseo;
let network: NetworkData = Rococo;
let faq: string = faqMd
.replaceAll("<NETWORK-TOKEN>", network.currency)
.replaceAll("<NETWORK-NAME>", network.networkName);
Expand Down

0 comments on commit b74aaaf

Please sign in to comment.