This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { render } = require("react-dom"); | |
const app = () => { | |
<Router> | |
<Route path='/IDR' compnent={IDRWizard}/> | |
<Route path='/PSLF' compnent={IDRWizard}/> | |
option | |
<Route path='/payment/{pathName}' compnent={Paywall} /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const handleSideEffects = sideEffects => sideEffect => next => action => { | |
try { | |
console.log(sideEffects) | |
sideEffect() | |
next(action); | |
} catch (e) { | |
console.log('error yotav', e); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import request from 'superagent'; | |
const BASE_URL = 'https://api.quovo.com/v2'; | |
const API_KEY = parameters.QUOVO_API_KEY; | |
const WEBHOOK_SECRET = parameters.QUOVO_WEBHOOK_SECRET; | |
const sendPRequest = async (method, path, payload) => { | |
try { | |
const newRequest = await request[method](`${BASE_URL}/${path}`) | |
.type('json') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { PureComponent } from 'react'; | |
import { connect } from 'react-redux'; | |
import { Animated, View, StyleSheet,Text,InteractionManager,ActivityIndicator} from 'react-native'; | |
import { TabViewAnimated, TabBar } from 'react-native-tab-view'; | |
import BasicListView from './BasicListView'; | |
import AllPublicChat from '../components/allPublicChat'; | |
import _ from 'underscore'; | |
import type { NavigationState } from 'react-native-tab-view/types'; |