Skip to content

Commit 65edd81

Browse files
committed
removed console.log
1 parent 5414dba commit 65edd81

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

admin/src/components/Input/index.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,9 @@ export default function Index({
2020
const { formatMessage } = useIntl();
2121
const [content, setContent] = useState('');
2222
const [prompt, setPrompt] = useState('');
23-
const [err, setErr] = useState('');
24-
const xet = process.env.OPEN_AI_ACCESS_TOKEN
25-
23+
const [err, setErr] = useState('');
2624

2725
const aiClick = async () => {
28-
console.log('vars: ', xet)
2926
try {
3027
const response = await fetch('https://api.openai.com/v1/completions', {
3128
method: 'POST',

0 commit comments

Comments
 (0)