Skip to content

Commit d164ed5

Browse files
committed
refactor: reorganize imports in ThemeWrapper and Groups components
1 parent 71c219d commit d164ed5

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

web/components/layout/ThemeWrapper.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
2-
import { useTheme } from '../../contexts/ThemeContext';
32
import { THEMES } from '../../constants';
3+
import { useTheme } from '../../contexts/ThemeContext';
44

55
export const ThemeWrapper = ({ children }: { children: React.ReactNode }) => {
66
const { style, mode } = useTheme();

web/pages/Groups.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1+
import { motion, Variants } from 'framer-motion';
2+
import { ArrowRight, Plus, TrendingDown, TrendingUp, Users } from 'lucide-react';
13
import React, { useEffect, useState } from 'react';
2-
import { getGroups, createGroup, joinGroup, getBalanceSummary } from '../services/api';
3-
import { Group, BalanceSummary, GroupBalanceSummary } from '../types';
4+
import { useNavigate } from 'react-router-dom';
45
import { Button } from '../components/ui/Button';
56
import { Input } from '../components/ui/Input';
6-
import { Skeleton } from '../components/ui/Skeleton';
77
import { Modal } from '../components/ui/Modal';
8-
import { Plus, Users, ArrowRight, TrendingUp, TrendingDown } from 'lucide-react';
9-
import { useNavigate } from 'react-router-dom';
10-
import { useTheme } from '../contexts/ThemeContext';
8+
import { Skeleton } from '../components/ui/Skeleton';
119
import { THEMES } from '../constants';
12-
import { motion, Variants } from 'framer-motion';
10+
import { useTheme } from '../contexts/ThemeContext';
11+
import { createGroup, getBalanceSummary, getGroups, joinGroup } from '../services/api';
12+
import { BalanceSummary, Group, GroupBalanceSummary } from '../types';
1313

1414
export const Groups = () => {
1515
const [groups, setGroups] = useState<Group[]>([]);

0 commit comments

Comments
 (0)