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 ServicosGerais: React.FC = () => { | |
const [started, setStarted] = useState('Iniciar Tarefa'); | |
const [habilit, setHabilit] = useState(false); | |
const [tasks, setTasks] = useState<TaskData[]>([]); | |
const [tasksFinish, setTasksFinish] = useState<TaskLocal[]>([]); | |
const refNutton = useRef(); | |
const { signOut, user } = useAuth(); |
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 FormData from 'form-data'; | |
import JunoToken from '../models/JunoToken.Model'; | |
import JunoApi from '../providers/PaymentProviders/Juno.Providers'; | |
import JunoApiAuth from '../providers/PaymentProviders/JunoAuthSand.Providers'; | |
import encodeBase64 from 'nodejs-base64-encode'; | |
import qs from 'querystring'; | |
const generateJunoToken = async () => { | |
/*const tokenExists = await JunoToken.query().modify('activeToken'); |