mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-28 10:26:33 +02:00
fix(extension): apply Plasmo build workaround - remove engines constraint
- Remove 'engines' field from package.json (workaround for Plasmo issue #1040) - Fix operator precedence in ChatInterface condition - Resolves 'Failed to resolve popup.tsx' error Note: Still encountering 'Unexpected token div' JSX error during build. This appears to be a separate Plasmo bundler issue unrelated to our code changes.
This commit is contained in:
parent
cb9af89318
commit
773f2f3cf9
2 changed files with 1 additions and 5 deletions
|
|
@ -131,7 +131,7 @@ export function ChatInterface() {
|
|||
const captureChartMatch = content.match(COMMAND_PATTERNS.CAPTURE_CHART);
|
||||
const generateThreadMatch = content.match(COMMAND_PATTERNS.GENERATE_THREAD);
|
||||
|
||||
if (addWatchlistMatch || content.toLowerCase().includes("add") && content.toLowerCase().includes("watchlist")) {
|
||||
if (addWatchlistMatch || (content.toLowerCase().includes("add") && content.toLowerCase().includes("watchlist"))) {
|
||||
// Add to watchlist command
|
||||
const token = addWatchlistMatch?.[1] || tokenSymbol;
|
||||
responseContent = `Done! ✅\n\nI've added ${token} to your watchlist.`;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue