correcoes

This commit is contained in:
joseCorte-exe 2022-06-30 23:41:16 -03:00
parent 72694a2504
commit 6cfb576891

View File

@ -75,6 +75,8 @@ export default function industryInfo({userName, pdfUrl}: any) {
</div> </div>
<BasicButton onClick={() => handleCreateClient()} title='Atualizar'/> <BasicButton onClick={() => handleCreateClient()} title='Atualizar'/>
<BasicButton onClick={() => window.open(pdfUrl)} title='Visualizar arquivo mais recente'/>
<BasicButton onClick={() => console.log('')} title='Excluir último arquivo enviado'/>
{/* <PDFViewer {/* <PDFViewer
document={{ document={{
@ -95,7 +97,7 @@ export const getServerSideProps: GetServerSideProps = async (ctx) => {
api.get('/download').then(res => { api.get('/download').then(res => {
pdfUrl = res.data.path pdfUrl = res.data.path
}).catch(res => { }).catch(res => {
// console.log() console.log(res)
}) })
if (!token) { if (!token) {