Skip to content

Commit

Permalink
feat: suppress PII for hotjar (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
alangsto authored Aug 18, 2023
1 parent 965ba9b commit 260583b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Message/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const Message = ({ variant, message, timestamp }) => {
return null;
}
return (
<div className={`msg ${variant}`}>
<div className={`msg ${variant}`} data-hj-suppress>
{message}
<div className="time">{`${timestamp?.getHours()}:${timestamp?.getMinutes()}:${timestamp?.getSeconds()}`}</div>
</div>
Expand Down
1 change: 1 addition & 0 deletions src/components/Sidebar/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ const Sidebar = ({
onChange={handleUpdateCurrentMessage}
placeholder="Type your question..."
className="w-full border border-gray-300 rounded-md p-4 focus:outline-none focus:border-blue-500"
data-hj-suppress
/>
<button className="text-blue-900 mt-2 mb-1 mx-2" type="submit">
<Send size="22" className="ml-1" />
Expand Down

0 comments on commit 260583b

Please sign in to comment.