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 Ws from '@adonisjs/websocket-client'; | |
import { toast } from 'react-toastify'; | |
import { eventChannel } from 'redux-saga'; | |
import { all, takeLatest, call, take, put, select } from 'redux-saga/effects'; | |
import { history } from '../../../services'; | |
import { | |
subscribeUserRequest, | |
subscribeChatRequest, | |
subscribeChatSuccess, |
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
{ | |
"categories": [ | |
{ "id": "camisetas", "title": "Camisetas" }, | |
{ "id": "calcas", "title": "Calças" } | |
], | |
"products": [ | |
{ "id": 1, "title": "Camiseta Front-end", "price": 79.9, "category_id": "camisetas", "slug": "camiseta-front-ends"}, | |
{ "id": 2, "title": "Camiseta CSharpolin", "price": 69.9, "category_id": "camisetas", "slug": "camiseta-csharpolin"}, | |
{ "id": 3, "title": "Calça preta back-end", "price": 129.9, "category_id": "calcas", "slug": "calca-preta-back-end"}, | |
{ "id": 4, "title": "Calça azul do React", "price": 109.9, "category_id": "calcas", "slug": "calca-azul-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
return ( | |
<Flex | |
as="main" | |
height="100vh" | |
justifyContent="center" | |
alignItems="center" | |
> | |
<Flex | |
as="form" | |
onSubmit={handleSignUpToNewsletter} |
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
name: CI | |
on: | |
push: | |
branches: [master] | |
env: | |
BUCKET: reactdeploy.getomni.dev | |
jobs: |
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
.DayPicker { | |
background: #28262e; | |
border-radius: 10px; | |
} | |
.DayPicker-wrapper { | |
padding-bottom: 0; | |
} | |
.DayPicker, |
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 { transactions, balance } = response.data; | |
const newTransactions = transactions.map(transaction => { | |
return { | |
...transaction, | |
formattedValue: formatValue(transaction.value), | |
// outros campos aqui | |
} | |
}); |
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, { | |
createContext, | |
useState, | |
useCallback, | |
useContext, | |
useEffect, | |
} from 'react'; | |
import AsyncStorage, { | |
useAsyncStorage, |
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
# 50-character subject line | |
# | |
# 72-character wrapped longer description. This should answer: | |
# | |
# * Why was this change necessary? | |
# * How does it address the problem? | |
# * Are there any side effects? | |
# |
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
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// choose either `'stable'` for receiving highly polished, | |
// or `'canary'` for less polished but more frequent updates | |
updateChannel: 'stable', |