only change the query
to params
router.push({
pathname: '/client/scan/InviteClientsScreen',
params: { bar_id, table_id, user_id }
});
and you can access the parameters here
const { bar_id, table_id, user_id } = useLocalSearchParams();
console.log({ bar_id, table_id, user_id });