Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit e51aad3

Browse files
DEV: Resolve @on import deprecation (#248)
1 parent fcd7340 commit e51aad3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

assets/javascripts/discourse/components/google-dfp-ad.gjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import { alias } from "@ember/object/computed";
22
import { htmlSafe } from "@ember/template";
33
import { classNameBindings, classNames } from "@ember-decorators/component";
4+
import { on } from "@ember-decorators/object";
45
import RSVP from "rsvp";
5-
import discourseComputed, { on } from "discourse/lib/decorators";
6+
import discourseComputed from "discourse/lib/decorators";
67
import { isTesting } from "discourse/lib/environment";
78
import loadScript from "discourse/lib/load-script";
89
import { i18n } from "discourse-i18n";

0 commit comments

Comments
 (0)