fixed lint errors

This commit is contained in:
prusswan
2025-01-24 12:24:15 +08:00
parent cdfe88ffc0
commit 9db49eee23
3 changed files with 9 additions and 10 deletions
+2 -3
View File
@@ -885,9 +885,8 @@ export default class App extends React.Component<any, AppState> {
}
onFileSelected = (e: File[]) => {
var file = e[0];
var pmt = new PMTiles(new FileSource(file));
console.log("App.onFileSelected", pmt);
const file = e[0];
const pmt = new PMTiles(new FileSource(file));
this.setState({
file: pmt
})