mirror of
https://github.com/mue/mue.git
synced 2026-07-27 10:41:08 +02:00
refactor: cleanup
This commit is contained in:
@@ -29,7 +29,7 @@ export default class BackgroundSettings extends PureComponent {
|
||||
}
|
||||
|
||||
async getBackgroundCategories() {
|
||||
const data = await (await fetch(window.constants.API_URL + '/images/categories', { signal: this.controller.signal })).json();
|
||||
const data = await (await fetch(variables.constants.API_URL + '/images/categories', { signal: this.controller.signal })).json();
|
||||
|
||||
if (this.controller.signal.aborted === true) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user