We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 258c6da commit 2df6c37Copy full SHA for 2df6c37
src/apps/copilots/src/pages/copilot-request-form/index.tsx
@@ -218,7 +218,10 @@ const CopilotRequestForm: FC<{}> = () => {
218
setIsFormChanged(false)
219
setFormErrors({})
220
setPaymentType('')
221
- window.location.href = `https://copilots.${EnvironmentConfig.TC_DOMAIN}/requests`
+ // Added a small timeout for the toast to be visible properly to the users
222
+ setTimeout(() => {
223
+ window.location.href = `https://copilots.${EnvironmentConfig.TC_DOMAIN}/requests`
224
+ }, 1000)
225
})
226
.catch(e => {
227
toast.error(e.message)
0 commit comments