Skip to content

Commit

Permalink
cleanup for new deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
mstfash committed Aug 23, 2023
1 parent bc972be commit a04aea5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
env:
CONTENTFUL_SPACE_ID: ${{ secrets.CONTENTFUL_SPACE_ID }}
CONTENTFUL_ACCESS_TOKEN: ${{ secrets.CONTENTFUL_ACCESS_TOKEN }}
NETWORK_URL: ${{ secrets.NETWORK_URL }}
NETWORK_URL: ${{ secrets.RPC_NETWORK_URL }}

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion src/components/ReflexerTVL.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useCallback, useEffect } from "react"
import { Helmet } from "react-helmet"
import Numeral from "numeral"
import { isBrowser } from "../utils/helper"
import { NETWORK_URL } from "../hooks/useGeb"
import { NETWORK_URL } from "../utils/constants"

const contractAddress = "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
const address = "0x2D3cD7b81c93f188F3CB8aD87c8Acc73d6226e3A"
Expand Down
3 changes: 1 addition & 2 deletions src/hooks/useGeb.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { useMemo } from "react"
import { Geb } from "geb.js"
import { ethers } from "ethers"

export const NETWORK_URL = process.env.NETWORK_URL || ""
import { NETWORK_URL } from "../utils/constants"

export const provider = new ethers.providers.JsonRpcProvider(NETWORK_URL)

Expand Down
2 changes: 1 addition & 1 deletion src/utils/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { css } from "styled-components"

// export const MAILCHIMP_URL =
// "https://finance.us20.list-manage.com/subscribe/post-json?u=a3b1b26a531e341b4e086da36&id=b5976e4e32"

export const NETWORK_URL = process.env.NETWORK_URL || ""
const MEDIA_WIDTHS = {
upToExtraSmall: 576,
upToSmall: 768,
Expand Down

0 comments on commit a04aea5

Please sign in to comment.