Skip to content

Commit e65d7f0

Browse files
author
tiagosiebler
committed
chore(): remove old comments
1 parent 212d171 commit e65d7f0

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/util/websockets/WsStore.ts

-11
Original file line numberDiff line numberDiff line change
@@ -380,10 +380,6 @@ export class WsStore<
380380
* @returns
381381
*/
382382
getMatchingTopic(key: WsKey, topic: TWSTopicSubscribeEventArgs) {
383-
// if (typeof topic === 'string') {
384-
// return this.getMatchingTopic(key, { channel: topic });
385-
// }
386-
387383
const allTopics = this.getTopics(key).values();
388384
for (const storedTopic of allTopics) {
389385
if (isDeepObjectMatch(topic, storedTopic)) {
@@ -393,13 +389,6 @@ export class WsStore<
393389
}
394390

395391
addTopic(key: WsKey, topic: TWSTopicSubscribeEventArgs) {
396-
// if (typeof topic === 'string') {
397-
// return this.addTopic(key, {
398-
// instType: 'sp',
399-
// channel: topic,
400-
// instId: 'default',
401-
// };
402-
// }
403392
// Check for duplicate topic. If already tracked, don't store this one
404393
const existingTopic = this.getMatchingTopic(key, topic);
405394
if (existingTopic) {

0 commit comments

Comments
 (0)