Thomas G. Lopes commited on
Commit
73b132d
·
1 Parent(s): a88830a

disable pro modal

Browse files
src/lib/state/conversations.svelte.ts CHANGED
@@ -206,10 +206,10 @@ export class ConversationClass {
206
  }
207
  } catch (error) {
208
  if (error instanceof Error) {
209
- const msg = error.message;
210
- if (msg.toLowerCase().includes("montly") || msg.toLowerCase().includes("pro")) {
211
- showQuotaModal();
212
- }
213
 
214
  if (error.message.includes("token seems invalid")) {
215
  token.reset();
 
206
  }
207
  } catch (error) {
208
  if (error instanceof Error) {
209
+ // const msg = error.message;
210
+ // if (msg.toLowerCase().includes("monthly") || msg.toLowerCase().includes("pro")) {
211
+ // showQuotaModal();
212
+ // }
213
 
214
  if (error.message.includes("token seems invalid")) {
215
  token.reset();