Skip to content

Commit dd605d7

Browse files
committed
refactor: update todo-stats icon and reorder tabs in calendar navigation
1 parent 2f76c42 commit dd605d7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/layouts/calendar/components/tab-navigation.tsx

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { motion } from 'framer-motion'
22
import type React from 'react'
3-
import { FiCalendar, FiClipboard, FiClock, FiWatch } from 'react-icons/fi'
3+
import { FiCalendar, FiClipboard, FiWatch } from 'react-icons/fi'
4+
import { IoAnalyticsOutline } from 'react-icons/io5'
45
import { useTheme } from '../../../context/theme.context'
56
import type { TabType } from '../calendar'
67

@@ -38,8 +39,8 @@ export const TabNavigation: React.FC<TabNavigationProps> = ({
3839
const tabs = [
3940
{ id: 'events' as TabType, label: 'رویدادها', icon: FiCalendar },
4041
{ id: 'todos' as TabType, label: 'یادداشت‌ها', icon: FiClipboard },
42+
{ id: 'todo-stats' as TabType, label: 'آمار', icon: IoAnalyticsOutline },
4143
{ id: 'pomodoro' as TabType, label: 'پومودورو', icon: FiWatch },
42-
{ id: 'todo-stats' as TabType, label: 'آمار', icon: FiClock },
4344
]
4445

4546
return (

0 commit comments

Comments
 (0)