mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 17:43:47 +00:00
Remove replace flag from back button navigation to fix double-click issue
Fixed issue where users had to click the Telegram Mini App back button twice in many admin pages. The replace flag was causing conflicts between Telegram's BackButton internal history and React Router's history management. Updated all 32 admin pages to use simple navigate() calls without replace flag.
This commit is contained in:
@@ -55,7 +55,7 @@ export default function AdminRemnawaveSquadDetail() {
|
||||
const { uuid } = useParams<{ uuid: string }>();
|
||||
const navigate = useNavigate();
|
||||
|
||||
useBackButton(() => navigate('/admin/remnawave', { replace: true }));
|
||||
useBackButton(() => navigate('/admin/remnawave'));
|
||||
|
||||
// Fetch all squads and find the one we need
|
||||
const {
|
||||
|
||||
Reference in New Issue
Block a user