diff --git a/packages/core/src/point.mjs b/packages/core/src/point.mjs index 4994ef4ebf1..c95c4cb37b6 100644 --- a/packages/core/src/point.mjs +++ b/packages/core/src/point.mjs @@ -358,7 +358,7 @@ Point.prototype.asRenderProps = function () { ////////////////////////////////////////////// /** - * Checks the Points coordinates, and raises a warning when they are invalid + * Checks the Points coordinates, and logs a warning when they are invalid * * @private * @return {object} this - The Point instance diff --git a/packages/core/src/store.mjs b/packages/core/src/store.mjs index 561f6c2d52b..d428f4b3d17 100644 --- a/packages/core/src/store.mjs +++ b/packages/core/src/store.mjs @@ -24,8 +24,6 @@ export function Store(methods = []) { const logs = { debug: [], info: [], - // FIXME: Remove after migration to 'warn' is complete - warning: [], warn: [], error: [], } @@ -39,10 +37,6 @@ export function Store(methods = []) { warn: function (...data) { logs.warn.push(...data) }, - // FIXME: Remove after migration to 'warn' is complete - warning: function (...data) { - logs.warning.push(...data) - }, error: function (...data) { if (typeof window !== 'undefined') console.error(...data[0]) logs.error.push(...data)