From 33d7a1ec8cbf7d5b309555ef5efa2ea83418c808 Mon Sep 17 00:00:00 2001 From: mahdi andalib Date: Tue, 10 May 2022 09:24:04 +0430 Subject: [PATCH] update src/components/Alert/index.js, src/components/Toast/index.js and alert.js --- src/components/Alert/index.js | 1 + src/components/Toast/index.js | 13 +++++++------ src/redux/reducers/alert.js | 2 +- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/components/Alert/index.js b/src/components/Alert/index.js index 588fbab..92333ad 100644 --- a/src/components/Alert/index.js +++ b/src/components/Alert/index.js @@ -7,6 +7,7 @@ import { connect } from "react-redux"; function Alert(props) { props.confirmAlert(); + return (
{/* 1 */} diff --git a/src/components/Toast/index.js b/src/components/Toast/index.js index 371d9d5..6a93c06 100644 --- a/src/components/Toast/index.js +++ b/src/components/Toast/index.js @@ -7,13 +7,14 @@ import { connect } from "react-redux"; function Toast(props) { props.confirmAlert(); + return (
{/* toast1 */}