Previous code continuously forced activeTab to 'messages' when not authenticated, making dashboard and voice tabs unclickable. Now uses useEffect once on mount to reset localStorage carryover, then lets tab switching work normally.
Previous code continuously forced activeTab to 'messages' when not authenticated, making dashboard and voice tabs unclickable. Now uses useEffect once on mount to reset localStorage carryover, then lets tab switching work normally.