client/app/bundles/course/container/Sidebar/SidebarContainer.tsx
Function SidebarContainer
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
(props, ref): JSX.Element => {
const smallScreen = useMedia.MinWidth('md');
const mobile = useMedia.PointerCoarse();
const [pinned, setPinned] = useState<boolean>();
- Create a ticketCreate a ticket
Function AppearOnLeftGutter
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const AppearOnLeftGutter = (props: ContainerProps): JSX.Element => {
const [guttered, setGuttered] = useState(true);
const [inside, setInside] = useState(false);
useLayoutEffect(() => {
- Create a ticketCreate a ticket