From 09fb3d92afd8f9a66e8870365c9050815e83a3d0 Mon Sep 17 00:00:00 2001 From: Anders Date: Tue, 10 Jan 2023 15:47:07 +0100 Subject: [PATCH] feat(GlobalStatus): deprecate AddStatus & Set (#1891) --- .../dnb-eufemia/src/components/global-status/GlobalStatus.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/dnb-eufemia/src/components/global-status/GlobalStatus.js b/packages/dnb-eufemia/src/components/global-status/GlobalStatus.js index 6f21ee840c4..4b7f6d1eaba 100644 --- a/packages/dnb-eufemia/src/components/global-status/GlobalStatus.js +++ b/packages/dnb-eufemia/src/components/global-status/GlobalStatus.js @@ -812,8 +812,6 @@ export default class GlobalStatus extends React.PureComponent { // Extend our component with controllers GlobalStatus.create = (...args) => new GlobalStatusInterceptor(...args) -GlobalStatus.Set = GlobalStatus.create // Deprecated -GlobalStatus.AddStatus = GlobalStatus.create // Deprecated GlobalStatus.Update = GlobalStatus.create GlobalStatus.Add = GlobalStatusController GlobalStatus.Remove = GlobalStatusController.Remove