Comparing version 2.2.0 to 2.2.1
{ | ||
"name": "popupz", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "A simple and customizable popup notification/modal library for React applications.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.jsx", |
@@ -16,3 +16,3 @@ import React, { createContext, useContext, useState } from 'react'; | ||
setId(newId); | ||
const newPop = { id: newId, theme: theme.toLowerCase(), type: type.toLowerCase(), message: message.toLowerCase(), progressBar: progressBar.toLowerCase() }; | ||
const newPop = { id: newId, theme: theme.toLowerCase(), type: type.toLowerCase(), message: message, progressBar: progressBar.toLowerCase() }; | ||
setPopzQueue(prevQueue => [...prevQueue, newPop]); | ||
@@ -19,0 +19,0 @@ setTimeout(() => { |
Sorry, the diff of this file is not supported yet
11483