{
"compilerOptions": {
"jsxImportSource": "@emotion/react"
}
}
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
🌞 Morning 20 commits █░░░░░░░░░░░░░░░░░░░░ 5.3% | |
🌆 Daytime 66 commits ███▋░░░░░░░░░░░░░░░░░ 17.6% | |
🌃 Evening 271 commits ███████████████▏░░░░░ 72.3% | |
🌙 Night 18 commits █░░░░░░░░░░░░░░░░░░░░ 4.8% |
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
npx prettier --write . |
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
type StripEffects<T> = T extends IterableIterator<infer E> | |
? E extends Effect | SimpleEffect<any, any> | |
? never | |
: E | |
: never; | |
type DecideReturn<T> = T extends Promise<infer R> | |
? R // If it's a promise, return the promised type. | |
: T extends IterableIterator<any> | |
? StripEffects<T> // If it's a generator, strip any effects to get the return type. |
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
// https://stackoverflow.com/questions/25436312/gitignore-not-working/25436481 | |
git rm -rf --cached . | |
git add . |
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
export const red = { | |
50: '#ffebee', | |
100: '#ffcdd2', | |
200: '#ef9a9a', | |
300: '#e57373', | |
400: '#ef5350', | |
500: '#f44336', | |
600: '#e53935', | |
700: '#d32f2f', | |
800: '#c62828', |
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 CracoAlias = require('craco-alias'); | |
module.exports = { | |
plugins: [ | |
{ | |
plugin: CracoAlias, | |
options: { | |
source: 'tsconfig', | |
baseUrl: '.', | |
tsConfigPath: 'tsconfig.paths.json', |