Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
style: Linting the code
Browse files Browse the repository at this point in the history
  • Loading branch information
ElliotFriend committed Sep 25, 2023
1 parent 1c7fa9a commit 4fd23e8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/components/ReaderFeedback/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React, { useState } from "react";
import useIsBrowser from '@docusaurus/useIsBrowser'
import useIsBrowser from '@docusaurus/useIsBrowser';

import IconThumbsUp from '/icons/thumbs-up.svg'
import IconThumbsDown from '/icons/thumbs-down.svg'
import IconThumbsUp from '../../../static/icons/thumbs-up.svg';
import IconThumbsDown from '../../../static/icons/thumbs-down.svg';

const ReaderFeedback = ({ pageId }) => {
const [feedbackGiven, setFeedbackGiven] = useState(false);
Expand All @@ -18,11 +18,11 @@ const ReaderFeedback = ({ pageId }) => {
eventCategory: 'button',
eventAction: 'feedback',
eventLabel: pageId,
eventValue: value
eventValue: value,
});
}
setFeedbackGiven(true);
}
};

return (
<div className="readerFeedback">
Expand All @@ -36,7 +36,7 @@ const ReaderFeedback = ({ pageId }) => {
</>
)}
</div>
)
}
);
};

export default ReaderFeedback;

0 comments on commit 4fd23e8

Please sign in to comment.