mirror of
https://github.com/maputnik/editor.git
synced 2026-07-31 10:17:26 +00:00
fixed lint errors
This commit is contained in:
@@ -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
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user