-
Notifications
You must be signed in to change notification settings - Fork 19
Description
Hi! @armagandalkiran, @aahmetcakir!
https://www.figma.com/file/3Rvo2R5AWAse3O09KtuhZT/GurubuV2?type=design&node-id=73-9675&mode=design&t=qoRnfA7F8ifD6tbe-4
I've observed that there's a modal designed for updating user nicknames. However, we have the opportunity to enhance its dynamism. By utilizing ContextAPI, we can manage this modal using just one instance. Currently, the modal lacks confirm or cancel buttons, but we can incorporate them in the future and manage their functionality through custom onConfirm and onCancel functions.
Let me illustrate this with a simple API example:
Despite the current absence of proper confirm and cancel buttons in the design, we can utilize a custom closeModal function to close the modal once the associated logic is completed.
And you can assign it to me if you want. 🚀