Skip to content

Conversation

moiz-deriv
Copy link
Contributor

fix: Added cancel button to navigate to dashboard on app reg page

@moiz-deriv moiz-deriv requested a review from shafin-deriv as a code owner May 14, 2025 02:20
Copy link

vercel bot commented May 14, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
deriv-api-docs ✅ Ready (Inspect) Visit Preview May 14, 2025 2:22am

size={is_desktop ? 'lg' : 'md'}
color='black'
onClick={() => {
window.location.href = '/dashboard';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a good practice to hardcode a url in the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants