Skip to content

Commit

Permalink
chore: remove强制设置
Browse files Browse the repository at this point in the history
  • Loading branch information
14790897 committed Apr 16, 2024
1 parent b3c8dc1 commit dba8ec3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/QuillEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,10 @@ const QEditor = ({ lng }) => {
}
}, []);
// 强制更新为我设置的API
useEffect(() => {
dispatch(setApiKey("sk-GHuPUV6ERD8wVmmr36FeB8D809D34d93Bb857c009f6aF9Fe"));
dispatch(setUpsreamUrl("https://one.paperai.life"));
});
// useEffect(() => {
// dispatch(setApiKey("sk-GHuPUV6ERD8wVmmr36FeB8D809D34d93Bb857c009f6aF9Fe"));
// dispatch(setUpsreamUrl("https://one.paperai.life"));
// });
const handleTextChange = debounce(async function (delta, oldDelta, source) {
if (source === "user") {
// 获取编辑器内容
Expand Down

0 comments on commit dba8ec3

Please sign in to comment.