@esportsplus/ui 0.0.83 → 0.0.84

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -21,6 +21,9 @@ function activate(key, messages, seconds = 0) {
21
21
  if (state.type !== key) {
22
22
  state.messages.clear();
23
23
  }
24
+ else {
25
+ state.type = '';
26
+ }
24
27
  for (let message of messages) {
25
28
  state.messages.add(message);
26
29
  }
package/package.json CHANGED
@@ -22,5 +22,5 @@
22
22
  "prepublishOnly": "npm run build"
23
23
  },
24
24
  "types": "build/index.d.ts",
25
- "version": "0.0.83"
25
+ "version": "0.0.84"
26
26
  }
@@ -32,6 +32,10 @@ function activate(key: Type, messages: string | string[], seconds: number = 0) {
32
32
  if (state.type !== key) {
33
33
  state.messages.clear();
34
34
  }
35
+ else {
36
+ // @ts-ignore
37
+ state.type = '';
38
+ }
35
39
 
36
40
  for (let message of messages) {
37
41
  state.messages.add(message);