Skip to content

Commit eda5336

Browse files
committed
🚑️ fix: creating actionrow makes circular ref
closes #379 ...this just doesnt make sense
1 parent 08a4606 commit eda5336

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/structures/messageComponents.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export class MessageComponents extends Array<MessageComponentData> {
2626
cb(components)
2727
this.push({
2828
type: MessageComponentType.ACTION_ROW,
29-
components: this as MessageComponentData[]
29+
components
3030
})
3131
return this
3232
}

0 commit comments

Comments
 (0)