Skip to content

Commit

Permalink
Merge pull request #2941 from sailaja-adapa/emoji
Browse files Browse the repository at this point in the history
Addition of Emojis
  • Loading branch information
panwar8279 authored Aug 10, 2024
2 parents 6a8c992 + fad2975 commit a07f111
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions frontend/src/Component/Rateus.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@ import React, { useState } from "react";
import { ToastContainer, toast } from "react-toastify";
import "react-toastify/dist/ReactToastify.css";
import "./../style/Rateus.css";

function RateUsComponent({ previousContent }) {
const [rating, setRating] = useState(0);
const [feedback, setFeedback] = useState("");
const handleFeedbackChange = (e) => {
setFeedback(e.target.value);
};

const handleEmojiClick = (emojiIndex) => {
setRating(emojiIndex);
};
Expand Down

0 comments on commit a07f111

Please sign in to comment.