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

chore: moved the order of bookmark table #16

Merged
merged 3 commits into from Jun 23, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 6 additions & 6 deletions react-pool/README.md
@@ -1,24 +1,24 @@
# Welcome to Signum's Pool website

_Maybe you will find helpfull tips_
_Maybe you will find helpful tips_

## How to use test-net or main-net enviroments 📋
## How to use test-net or main-net environments 📋

_If you are going to test the website in test-net or main-net (mode), you just need to take the following steps:_

- Go to the folder src/utils/
- You will find the file "globalParameter.js"
- Find the variable "useTestNet"
-If that variable is equal to true, the website will fetching data from a demo pool node you can customize!
-If that variable is equal to false, the website will fetching data from your pool node!
-If that variable is equal to true, the website will fetch data from a demo pool node you can customize!
-If that variable is equal to false, the website will fetch data from your pool node!

## Commands for deployment 🛠️

_Use this commands if you are going to deploy changes or start the deployment_

- If you have not install the dependencies, run "npm install", if there is already a folder called "node_modules", forget this step
- If you have not installed the dependencies, run "npm install", if there is already a folder called "node_modules", forget this step
- npm run build - Build project's production site
- After the build command is done, you will only need the folder "Build"
- After the build command has finished, you will only need the folder "Build"
- Only use the folder "Build", you can deploy the production app in your pool node
- Always serve the file index.html

Expand Down
2 changes: 1 addition & 1 deletion react-pool/src/utils/globalParameters.js
Expand Up @@ -99,7 +99,7 @@ const LARGE_WIDGET_TRADING_LINK = window.reactInit.largeWidgetLink;
// Global variables that are going to be used by the website

// Set true or false if you wanna use the test-net (demo enviroment) or main-net enviroment of the pool node
export const useTestNet = false;
export const useTestNet = true;
ohager marked this conversation as resolved.
Show resolved Hide resolved

// Pool node which website will use
export const NODEToUse = useTestNet && useTestNet === true ? TEST_NODE : NODE;
Expand Down
25 changes: 12 additions & 13 deletions react-pool/src/utils/redux/actions/miners.js
Expand Up @@ -264,32 +264,31 @@ export const selectBookmarkedMiner =
value: response.addressRS,
type: "info",
},

// Past deadlines
// Pending balance
{
title: "Past deadlines",
value: "BookmarkedMinerDeadlines",
type: "BookmarkedMinerDeadlines",
title: "Pending Balance",
value: response.pendingBalance,
type: "info",
},

// Current deadline
{
title: "Current Deadline",
value: response.currentDeadline || "Waiting..",
type: "info",
},

// Confirmed deadline
// Past deadlines
{
title: "Confirmed Deadlines",
value: confirmedDeadlines || "",
type: "info",
title: "Past deadlines",
value: "BookmarkedMinerDeadlines",
type: "BookmarkedMinerDeadlines",
},

// Pending balance

// Confirmed deadline
{
title: "Pending Balance",
value: response.pendingBalance,
title: "Confirmed Deadlines",
value: confirmedDeadlines || "",
type: "info",
},

Expand Down