diff --git a/web-chat/.cspell.json b/web-chat/.cspell.json index a4013d963c..c22e5699ea 100644 --- a/web-chat/.cspell.json +++ b/web-chat/.cspell.json @@ -57,6 +57,7 @@ "upgrader", "waku", "wakunode", + "webfonts", "websockets" ], "flagWords": [], diff --git a/web-chat/package.json b/web-chat/package.json index 61bc29b4a2..7a0e1966f7 100644 --- a/web-chat/package.json +++ b/web-chat/package.json @@ -30,7 +30,7 @@ "test": "run-s build test:*", "test:lint": "eslint src --ext .ts --ext .tsx", "test:prettier": "prettier \"src/**/*.{ts,tsx}\" --list-different", - "test:spelling": "cspell \"{README.md,.github/*.md,src/**/*.ts}\"", + "test:spelling": "cspell \"{README.md,.github/*.md,src/**/*.{ts,tsx},public/**/*.html}\"", "fix:prettier": "prettier \"src/**/*.{ts,tsx}\" --write", "fix:lint": "eslint src --ext .ts --ext .tsx --fix", "js-waku:install": "cd ../; npm install", diff --git a/web-chat/src/App.tsx b/web-chat/src/App.tsx index 3d730e393d..0d77832c92 100644 --- a/web-chat/src/App.tsx +++ b/web-chat/src/App.tsx @@ -123,7 +123,7 @@ export default function App() { ); } } catch (e) { - commandResponses.push('Invalid multaddr: ' + e); + commandResponses.push('Invalid multiaddr: ' + e); } } break; @@ -137,10 +137,10 @@ export default function App() { addresses = addresses.replace(/,$/, ''); addresses += ']'; commandResponses.push(addresses); - let protos = ' protos: ['; - protos += peer.protocols; - protos += ']'; - commandResponses.push(protos); + let protocols = ' protocols: ['; + protocols += peer.protocols; + protocols += ']'; + commandResponses.push(protocols); }); break; default: