refactor: un-nest /travelmate/policies route and remove Outlet from TravelMate component

This commit is contained in:
Van Leemput Dayron
2026-01-02 16:39:15 +01:00
parent 7e2672c262
commit 4a6d224dbd
2 changed files with 4 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
import { useEffect } from 'react';
import { motion } from 'framer-motion';
import { useLanguage } from '../contexts/LanguageContext';
import { Link, Outlet } from 'react-router-dom';
import { Link } from 'react-router-dom';
import { Shield, Smartphone, Map, DollarSign, Users, Globe, Code } from 'lucide-react';
import appIcon from '../assets/app_icon.png';
@@ -280,7 +280,7 @@ const TravelMate = () => {
</motion.div>
</motion.div>
<Outlet />
</div>
</div>
);