View on GitHub
File Changes
    websocketUrl: '',
    name: 'mainnet'
  },
+
  seiza: {
+
    simple: "",
+
    advance: ""
+
  },
  app: {
    walletRefreshInterval: 10,
    serverStatusRefreshInterval: 10,
  }, []);
};

                      
-
const Staking = (props: InjectedContainerProps) => {
+
const Staking = (props: {|
+
    ...InjectedContainerProps,
+
    stakingUrl: string,
+
|}) => {
  const iframeRef = React.useRef(null);
  const { stores, stakingUrl } = props;
  const { profile } = stores;
import SeizaFetcher from './SeizaFetcher';

                      
import type { InjectedProps } from '../../../types/injectedPropsType';
-
import {ConfigType} from "../../../../config/config-types";
+
import type {ConfigType} from "../../../../config/config-types";

                      
type Props = InjectedProps

                      
import SeizaFetcher from './SeizaFetcher';

                      
import type { InjectedProps } from '../../../types/injectedPropsType';
-
import {ConfigType} from "../../../../config/config-types";
+
import type {ConfigType} from "../../../../config/config-types";

                      
type Props = InjectedProps;

                      

                      
export type ConfigType = {
  network: NetworkConfigType,
+
  seiza: SeizaConfigType,
  app: AppConfigType,
  genesis: GenesisConfigType,
};

                      
+
export type SeizaConfigType = {|
+
    simple: string,
+
    advance: string,
+
|}
+

                      
export type AppConfigType = {|
  walletRefreshInterval: number,
  serverStatusRefreshInterval: number,
    "websocketUrl": "wss://testnet-yoroi-backend.yoroiwallet.com:443",
    "name": "testnet"
  },
+
  seiza: {
+
    simple: "",
+
    advance: ""
+
  },
  "app": {
    "walletRefreshInterval": 20000,
    "serverStatusRefreshInterval": 20000,
    "websocketUrl": "wss://iohk-mainnet.yoroiwallet.com:443",
    "name": "mainnet"
  },
+
  seiza: {
+
    simple: "",
+
    advance: ""
+
  },
  "app": {
    "walletRefreshInterval": 20000,
    "serverStatusRefreshInterval": 20000,
    "websocketUrl": "wss://iohk-mainnet.yoroiwallet.com:443",
    "name": "shelley-testnet"
  },
+
  seiza: {
+
    simple: "",
+
    advance: ""
+
  },
  "app": {
    "walletRefreshInterval": 20000,
    "serverStatusRefreshInterval": 20000,
    "websocketUrl": "wss://stg-yoroi-backend.yoroiwallet.com:443",
    "name": "staging"
  },
+
  seiza: {
+
    simple: "",
+
    advance: ""
+
  },
  "app": {
    "walletRefreshInterval": 20000,
    "serverStatusRefreshInterval": 20000,
    "websocketUrl": "ws://localhost:8080",
    "name": "test"
  },
+
  seiza: {
+
    simple: "",
+
    advance: ""
+
  },
  "app": {
    "walletRefreshInterval": 2000,
    "serverStatusRefreshInterval": 2000,
    "websocketUrl": "wss://testnet-yoroi-backend.yoroiwallet.com:443",
    "name": "testnet"
  },
+
  seiza: {
+
    simple: "",
+
    advance: ""
+
  },
  "app": {
    "walletRefreshInterval": 20000,
    "serverStatusRefreshInterval": 20000,