correcoes
This commit is contained in:
parent
72694a2504
commit
6cfb576891
@ -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) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user