diff --git a/addon/passed-or-default.js b/addon/passed-or-default.js index de57cf83..f5fc7116 100644 --- a/addon/passed-or-default.js +++ b/addon/passed-or-default.js @@ -1,10 +1,9 @@ import { importSync, getOwnConfig } from "@embroider/macros"; import { ensureSafeComponent } from "@embroider/util"; -import { cached } from "tracked-toolbox"; export default function passedOrDefault(componentName) { return function (target, property) { - return cached(target, property, { + return { get() { return ensureSafeComponent( this.args[property] ?? @@ -12,6 +11,6 @@ export default function passedOrDefault(componentName) { this ); }, - }); + }; }; } diff --git a/package.json b/package.json index 0e5a15e9..5c94ac56 100644 --- a/package.json +++ b/package.json @@ -41,8 +41,7 @@ "ember-changeset-validations": "^4.1.0", "ember-cli-babel": "^7.26.11", "ember-cli-htmlbars": "^6.1.0", - "ember-truth-helpers": "^3.1.1", - "tracked-toolbox": "^2.0.0" + "ember-truth-helpers": "^3.1.1" }, "devDependencies": { "@adfinis-sygroup/eslint-config": "1.5.0",