removing unused var
This commit is contained in:
parent
3823c3ea62
commit
27dd7e7670
|
|
@ -1,6 +1,6 @@
|
||||||
import React, { useEffect, useState } from "react";
|
import React, { useEffect, useState } from "react";
|
||||||
import AnimatedPage from "../components/AnimatedPage";
|
import AnimatedPage from "../components/AnimatedPage";
|
||||||
import { Link, useNavigate } from "react-router-dom";
|
import { useNavigate } from "react-router-dom";
|
||||||
import { postRatingData } from "../services/WordpressFetchData";
|
import { postRatingData } from "../services/WordpressFetchData";
|
||||||
export default function Rate() {
|
export default function Rate() {
|
||||||
const [rating, setRating] = useState(undefined);
|
const [rating, setRating] = useState(undefined);
|
||||||
|
|
@ -26,7 +26,7 @@ export default function Rate() {
|
||||||
postRatingData(rating);
|
postRatingData(rating);
|
||||||
navigate("/Home");
|
navigate("/Home");
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<AnimatedPage className='page-container page-container--rating'>
|
<AnimatedPage className='page-container page-container--rating'>
|
||||||
<div className='screen '>
|
<div className='screen '>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user