mirror of
https://github.com/discourse/discourse-data-explorer.git
synced 2025-03-09 13:24:53 +00:00
Revert "Import getURL to fix deprecation warnings (#52)"
This reverts commit d643cf742e4a46423dd07bb72d532e91346e3855. A previous change was already made in this repo to import getURL, this causes a double import which breaks the build.
This commit is contained in:
parent
d643cf742e
commit
a4665c27e8
@ -3,7 +3,6 @@ import { ajax } from "discourse/lib/ajax";
|
|||||||
import getURL from "discourse-common/lib/get-url";
|
import getURL from "discourse-common/lib/get-url";
|
||||||
import Badge from "discourse/models/badge";
|
import Badge from "discourse/models/badge";
|
||||||
import { default as computed } from "discourse-common/utils/decorators";
|
import { default as computed } from "discourse-common/utils/decorators";
|
||||||
import getURL from "discourse-common/lib/get-url";
|
|
||||||
|
|
||||||
function randomIdShort() {
|
function randomIdShort() {
|
||||||
return "xxxxxxxx".replace(/[xy]/g, () => {
|
return "xxxxxxxx".replace(/[xy]/g, () => {
|
||||||
|
@ -5,7 +5,6 @@ import {
|
|||||||
} from "discourse-common/utils/decorators";
|
} from "discourse-common/utils/decorators";
|
||||||
import getURL from "discourse-common/lib/get-url";
|
import getURL from "discourse-common/lib/get-url";
|
||||||
import RestModel from "discourse/models/rest";
|
import RestModel from "discourse/models/rest";
|
||||||
import getURL from "discourse-common/lib/get-url";
|
|
||||||
|
|
||||||
const Query = RestModel.extend({
|
const Query = RestModel.extend({
|
||||||
dirty: false,
|
dirty: false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user