This file contains hidden or 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
du -h --max-depth=1 |
This file contains hidden or 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
/* Actions & Guards **********************************************************/ | |
const hasCookie = context => context.isCookieSet; | |
const isNotShowing = context => context.isShown === false; | |
const collapse = assign({ | |
isShown: false, | |
}); | |
const setCookie = assign({ |
This file contains hidden or 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
/* Actions & Guards **********************************************************/ | |
const collapse = assign({ | |
isShown: false, | |
}); | |
const setCookie = assign({ | |
isCookieSet: true, | |
}); | |
const hasCookie = context => context.isCookieSet; |