Skip to content

Instantly share code, notes, and snippets.

View ylyubchenko's full-sized avatar

Yuriy Lyubchenko ylyubchenko

  • GentleCode
View GitHub Profile
export type MerchantLinksFormData = {
userMerchants: any[];
};
export type MerchantLinksFormProps = {
userTitle: string;
merchantsTitle: string;
loading?: boolean;
className?: string;
user?: {
const Promise = require('bluebird')
const fp = require('lodash/fp')
const flow = require('lodash/flow')
const addOne = s => new Promise(resolve => {
s = [100, ...s];
setTimeout(() => resolve(s), 200);
})
const setSail = s => new Promise(resolve => {
s[2] = s[2] + 14;
@ylyubchenko
ylyubchenko / gist:27ebd2884f1cf86f6ce2dc9ae48536fe
Last active July 17, 2018 18:26
gh-pages fails to deploy (using cmder command line)
C:\Sites\graphs (master -> origin)
λ npm run deploy
> [email protected] predeploy C:\Sites\graphs
> npm run build
> [email protected] build C:\Sites\graphs
> react-scripts build