leetcode-patterns icon indicating copy to clipboard operation
leetcode-patterns copied to clipboard

fix: resets the last solved date only after modal confirmation #381

Open AvilaAndre opened this issue 4 weeks ago • 0 comments

As explained in #381, the 'Reset' button was wrongly deleting the 'Last Solved On' column before the user confirms deletion.

This change moves the reset logic from the toggleResetModal method to the resetHandler so that it is only invoked when the user confirms the reset action.

AvilaAndre avatar Dec 10 '25 00:12 AvilaAndre