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 MyWrapperMiddleware = store => next => action => { | |
const state = store.getState() | |
if (!state.isLoggedIn) | |
return next(action) | |
const pouchMiddleware = PouchMiddleware({ | |
path: state.currentPath, | |
db, |
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 './style.css'; | |
import React, { useState } from 'react'; | |
import Spinner from 'react-md-spinner'; | |
import useInterval from '../../utils/useInterval'; | |
import { random } from 'lodash'; | |
const labels = [ | |
'מכוונים את הגיטרות', | |
'פורשים מחצלות', |
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, { Children, cloneElement, useState, createContext, useContext } from 'react'; | |
const ctx = createContext(); | |
export function Tabs ({ children }) { | |
const [selectedIndex, selectIndex] = useState(0); | |
return ( | |
<ctx.Provider value={{ selectedIndex, selectIndex }}> | |
{children} |
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
Aaa | |
Init -> Assignment has challenge? | |
Assignment has challenge? | |
yes -> Challenge | |
no -> Single Package | |
Challenge | |
start package -> Work | |
Work |
OlderNewer