Identified repetitive actions: Burn logic, fetching transactions, UI state control.
Created useBurn hook: Encapsulated these actions, managed state internally.
Components use the hook: No need to repeat code, cleaner separation of concerns.
Benefits: More readable, maintainable, reusable, and testable code.