View conv-lib.min.js
!function(t){function e(){}function n(t,e){return function(){t.apply(e,arguments)}}function i(t){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],c(t,this)}function o(t,e){for(;3===t._state;)t=t._value;return 0===t._state?void t._deferreds.push(e):(t._handled=!0,void i._immediateFn(function(){var n=1===t._state?e.onFulfilled:e.onRejected;if(null===n)return void(1===t._state?s:r)(e.promise,t._value);var i;try{i=n(t._value)}catch(t){return void r(e.promise,t)}s(e.promise,i)}))}function s(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var o=e.then;if(e instanceof i)return t._state=3,t._value=e,void a(t);if("function"==typeof o)return void c(n(o,e),t)}t._state=1,t._value=e,a(t)}catch(e){r(t,e)}}function r(t,e){t._state=2,t._value=e,a(t)}function a(t){2===t._state&&
View antd-theme-change
https://ant.design/docs/react/customize-theme
2nd method:
create a "theme.less" file
//theme.less content
@import "~antd/dist/antd.less";
@primary-color : #fa8c16; //will set primary color of website as orange color
View react-presistent-routing
/**
*
* RequireAuthentication
*
*/
import React from 'react';
// import styled from 'styled-components';
import {connect} from 'react-redux';
import { makeSelectAdmin } from '../../containers/App/selectors'
View sagas.js
function* sendLandingPageEmail() {
const Email = yield select(email());
console.log("email")
const url = "https://tokenlab.io/projection/create";
const Edata = {
email: Email,
}
console.log(Edata)
try {
View nested-immutable-arrays
import { fromJS } from 'immutable';
const initialState = fromJS({
panes: [{
title: 'abc',
service: '',
tagName: '',
preDefinedApi: '',
methodType: '',