Skip to content

Commit

Permalink
refactor: Explicit import Icons
Browse files Browse the repository at this point in the history
  • Loading branch information
alimtunc committed Aug 30, 2023
1 parent 231dd23 commit 38e74f4
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { grey } from 'palette';
import { useCopyToClipboard, useToggle } from 'usehooks-ts';

import { CopyAll } from '@mui/icons-material';
import CopyAll from '@mui/icons-material/CopyAll';
import { IconButton, Tooltip } from '@mui/material';

import useIsDarkMode from 'hooks/useIsDarkMode';
Expand Down
4 changes: 3 additions & 1 deletion src/chainlit/frontend/src/components/atoms/Collapse.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import React from 'react';
import { useToggle } from 'usehooks-ts';

import { DownloadOutlined, ExpandLess, ExpandMore } from '@mui/icons-material';
import DownloadOutlined from '@mui/icons-material/DownloadOutlined';
import ExpandLess from '@mui/icons-material/ExpandLess';
import ExpandMore from '@mui/icons-material/ExpandMore';
import {
Box,
IconButton,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Info } from '@mui/icons-material';
import Info from '@mui/icons-material/Info';
import { Box, InputLabel, Tooltip } from '@mui/material';

import NotificationCount, {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { grey } from 'palette';
import { useRef, useState } from 'react';
import { useRecoilState } from 'recoil';

import { AutoDelete } from '@mui/icons-material';
import AutoDelete from '@mui/icons-material/AutoDelete';
import KeyboardDoubleArrowUpIcon from '@mui/icons-material/KeyboardDoubleArrowUp';
import {
IconButton,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useRecoilValue } from 'recoil';

import { Add } from '@mui/icons-material';
import Add from '@mui/icons-material/Add';
import { LoadingButton } from '@mui/lab';
import { Tooltip } from '@mui/material';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { primary } from 'palette';
import { grey } from 'palette';
import React from 'react';

import { KeyboardArrowDown } from '@mui/icons-material';
import KeyboardArrowDown from '@mui/icons-material/KeyboardArrowDown';
import { MenuItem, SxProps } from '@mui/material';
import MSelect, { SelectChangeEvent, SelectProps } from '@mui/material/Select';

Expand Down

0 comments on commit 38e74f4

Please sign in to comment.