RocketChat/Rocket.Chat

View on GitHub
apps/meteor/client/views/room/contextualBar/RoomFiles/RoomFilesWithData.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function RoomFilesWithData has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const RoomFilesWithData = () => {
    const room = useRoom();
    const { closeTab } = useRoomToolbox();
    const [text, setText] = useState('');
    const [type, setType] = useLocalStorage('file-list-type', 'all');

    There are no issues that match your filters.

    Category
    Status