Skip to content

Commit

Permalink
chore: update verbage
Browse files Browse the repository at this point in the history
  • Loading branch information
dOrgJelli committed Aug 31, 2023
1 parent 2ce35e4 commit ed29af9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
3 changes: 2 additions & 1 deletion apps/browser/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-YGT52QSVL9', {'debug_mode': true}); </script>
gtag('config', 'G-YGT52QSVL9', {'debug_mode': true});
</script>
<!-- End Google tag -->
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
Expand Down
12 changes: 3 additions & 9 deletions apps/browser/src/components/Chat/Chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@ export interface ChatProps {
goalEnded: boolean
}

interface Window {
gtag: any;
}
declare var window: Window;


const Chat: React.FC<ChatProps> = ({ evo, onMessage, messages, goalEnded }: ChatProps) => {
const [message, setMessage] = useState<string>("");
const [evoRunning, setEvoRunning] = useState<boolean>(false);
Expand Down Expand Up @@ -190,10 +184,10 @@ const Chat: React.FC<ChatProps> = ({ evo, onMessage, messages, goalEnded }: Chat
<div className="Chat__Container">
{showDisclaimer && (
<div className="DisclaimerRibbon">
🧠 Disclaimer: In order to improve Evo, all inputs to the agent through this UI will be tracked, so don't share any sensitive information or private keys.
🧠 Hey there! Mind sharing your prompts to help make Evo even better?
<div className="ButtonWrapper">
<span className="CloseDisclaimer" onClick={handleCloseDisclaimer}>Agree</span>
<span className="CloseWithoutTracking" onClick={handleCloseWithoutTracking}>Disagree</span>
<span className="CloseDisclaimer" onClick={handleCloseDisclaimer}>Accept</span>
<span className="CloseWithoutTracking" onClick={handleCloseWithoutTracking}>Decline</span>
</div>
</div>
)}
Expand Down

0 comments on commit ed29af9

Please sign in to comment.