mirror of
				https://github.com/ItzCrazyKns/Perplexica.git
				synced 2025-11-04 04:38:15 +00:00 
			
		
		
		
	feat(app): lint & format
This commit is contained in:
		@@ -59,7 +59,9 @@ const useSocket = (
 | 
				
			|||||||
            chatModelProvider = Object.keys(chatModelProviders)[0];
 | 
					            chatModelProvider = Object.keys(chatModelProviders)[0];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            if (chatModelProvider === 'custom_openai') {
 | 
					            if (chatModelProvider === 'custom_openai') {
 | 
				
			||||||
              toast.error('Seems like you are using the custom OpenAI provider, please open the settings and configure the API key and base URL');
 | 
					              toast.error(
 | 
				
			||||||
 | 
					                'Seems like you are using the custom OpenAI provider, please open the settings and configure the API key and base URL',
 | 
				
			||||||
 | 
					              );
 | 
				
			||||||
              setError(true);
 | 
					              setError(true);
 | 
				
			||||||
              return;
 | 
					              return;
 | 
				
			||||||
            } else {
 | 
					            } else {
 | 
				
			||||||
@@ -192,7 +194,7 @@ const useSocket = (
 | 
				
			|||||||
          if (data.type === 'error') {
 | 
					          if (data.type === 'error') {
 | 
				
			||||||
            toast.error(data.data);
 | 
					            toast.error(data.data);
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
        })
 | 
					        });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        setWs(ws);
 | 
					        setWs(ws);
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user