diff --git a/src/components/feedback.tsx b/src/components/feedback.tsx index bb6a6765..8b9fce31 100644 --- a/src/components/feedback.tsx +++ b/src/components/feedback.tsx @@ -98,6 +98,7 @@ export const FeedbackSection: React.FC = props => { const handleShow = () => { setShowButton(!showButton); }; + const editPage = pathname === '/' ? '/index' : pathname; return ( = props => { mt={space(['extra-loose', 'extra-loose', 'base-loose'])} >