Skip to content

Commit f122aa2

Browse files
committed
fixed the warning while building
1 parent 639e1a4 commit f122aa2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

streamlit_pdf_viewer/frontend/src/PdfViewer.vue

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
</template>
2323

2424
<script>
25-
import {nextTick, onMounted, onUpdated, computed, ref} from "vue";
25+
import { onMounted, onUpdated, computed, ref} from "vue";
2626
import "pdfjs-dist/build/pdf.worker.entry";
2727
import {getDocument} from "pdfjs-dist/build/pdf";
2828
import {Streamlit} from "streamlit-component-lib";
@@ -179,7 +179,6 @@ export default {
179179
});
180180
181181
onUpdated(() => {
182-
console.info('onMounted') // to check if onUpdated method executed infinitely #28
183182
setFrameHeight();
184183
});
185184

0 commit comments

Comments
 (0)