Skip to content

Commit

Permalink
[update]: ai chat is now login only
Browse files Browse the repository at this point in the history
  • Loading branch information
ShivaBhattacharjee committed Sep 22, 2024
1 parent 392ad65 commit 3703077
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/sw.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/app/waifu/[waifuid]/[animename]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const Page = ({ params }: { params: { waifuid: string; animename: string } }) =>
}, [focusTextarea]);
const handleSubmit = async (e: FormEvent<HTMLFormElement>) => {
e.preventDefault();
// if (!token) return Toast.ErrorShowToast(`You need to login to chat with ${waifuid}`);
if (!token) return Toast.ErrorShowToast(`You need to login to chat with ${waifuid}`);

try {
const text = prompt;
Expand Down

0 comments on commit 3703077

Please sign in to comment.