Revert "Import getURL to fix deprecation warnings (#52)"
This reverts commit d643cf742e
.
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 Badge from "discourse/models/badge";
|
||||
import { default as computed } from "discourse-common/utils/decorators";
|
||||
import getURL from "discourse-common/lib/get-url";
|
||||
|
||||
function randomIdShort() {
|
||||
return "xxxxxxxx".replace(/[xy]/g, () => {
|
||||
|
|
|
@ -5,7 +5,6 @@ import {
|
|||
} from "discourse-common/utils/decorators";
|
||||
import getURL from "discourse-common/lib/get-url";
|
||||
import RestModel from "discourse/models/rest";
|
||||
import getURL from "discourse-common/lib/get-url";
|
||||
|
||||
const Query = RestModel.extend({
|
||||
dirty: false,
|
||||
|
|
Loading…
Reference in New Issue