When I try to submit a custom modal, I have this error on last v14 commit build
TypeError: createComponent is not a function
at C:\Les-Moddeurs-Francais\Moddeur-Ultime\node_modules\discord.js\src\structures\ModalSubmitInteraction.js:43:54
at Array.map (<anonymous>)
at new ModalSubmitInteraction (C:\Les-Moddeurs-Francais\Moddeur-Ultime\node_modules\discord.js\src\structures\ModalSubmitInteraction.js:43:45)
at InteractionCreateAction.handle (C:\Les-Moddeurs-Francais\Moddeur-Ultime\node_modules\discord.js\src\client\actions\InteractionCreate.js:69:25)
at Object.module.exports [as INTERACTION_CREATE] (C:\Les-Moddeurs-Francais\Moddeur-Ultime\node_modules\discord.js\src\client\websocket\handlers\INTERACTION_CREATE.js:4:36)
at WebSocketManager.handlePacket (C:\Les-Moddeurs-Francais\Moddeur-Ultime\node_modules\discord.js\src\client\websocket\WebSocketManager.js:355:31)
at WebSocketShard.onPacket (C:\Les-Moddeurs-Francais\Moddeur-Ultime\node_modules\discord.js\src\client\websocket\WebSocketShard.js:447:22)
at WebSocketShard.onMessage (C:\Les-Moddeurs-Francais\Moddeur-Ultime\node_modules\discord.js\src\client\websocket\WebSocketShard.js:304:10)
at WebSocket.onMessage (C:\Les-Moddeurs-Francais\Moddeur-Ultime\node_modules\ws\lib\event-target.js:199:18)
at WebSocket.emit (node:events:520:28)
Which package is this bug report for?
discord.js
Issue description
When I try to submit a custom modal, I have this error on last v14 commit build
Code sample
No response
Package version
discord.js@14.0.0-dev.1647259751.2297c2b
Node.js version
v16.14.0
Operating system
Windows
Priority this issue should have
Medium (should be fixed soon)
Which partials do you have configured?
Channel
Which gateway intents are you subscribing to?
Guilds, GuildMessages
I have tested this issue on a development release
No response