Skip to content

Commit

Permalink
Update rateUsModalOpen condition
Browse files Browse the repository at this point in the history
  • Loading branch information
GiridharRNair committed Mar 4, 2024
1 parent ea71850 commit 4914aba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/RateUsModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { FcFeedback } from "react-icons/fc";

function RateUsModal() {
const [rateUsModalOpen, setRateUsModalOpen] = useState(
localStorage.getItem("LastInputDataCompare") && !localStorage.getItem("hasRated") && Math.random() < 1,
localStorage.getItem("LastInputDataCompare") && !localStorage.getItem("hasRated") && Math.random() < 0.4,
);
const [buttonTextColor, setButtonTextColor] = useState("#333");

Expand Down

0 comments on commit 4914aba

Please sign in to comment.