mirror of
https://github.com/maputnik/editor.git
synced 2026-02-09 22:20:03 +00:00
add underscore for unused var
This commit is contained in:
@@ -376,7 +376,7 @@ export default class App extends React.Component<any, AppState> {
|
||||
changedStyle.sprite = setFetchAccessToken(changedStyle.sprite, changedStyle);
|
||||
}
|
||||
|
||||
for (const [sourceId, source] of Object.entries(changedStyle.sources)) {
|
||||
for (const [_sourceId, source] of Object.entries(changedStyle.sources)) {
|
||||
if (source && 'url' in source && typeof source.url === 'string') {
|
||||
source.url = setFetchAccessToken(source.url, changedStyle);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user