• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

CaptainFact / captain-fact-frontend / 19991788094

06 Dec 2025 05:21PM UTC coverage: 5.575% (+0.08%) from 5.497%
19991788094

push

github

web-flow
deps: Remove styled-components (#1405)

43 of 1652 branches covered (2.6%)

Branch coverage included in aggregate %.

0 of 21 new or added lines in 8 files covered. (0.0%)

8 existing lines in 4 files now uncovered.

192 of 2563 relevant lines covered (7.49%)

0.18 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/app/components/App/MenuToggleSwitch.jsx
1
import PropTypes from 'prop-types'
2
import React from 'react'
3
import { connect } from 'react-redux'
4
import { Menu as MenuIcon, X as XIcon } from 'styled-icons/boxicons-regular'
5

6
import { toggleSidebar } from '../../state/user_preferences/reducer'
7

8
const MenuToggleSwitch = ({ toggleSidebar, sidebarExpended, toggleableIcon }) => (
×
NEW
9
  <button
×
NEW
10
    onClick={() => toggleSidebar()}
×
11
    className="bg-none outline-none border-0 p-0 h-full w-[45px] cursor-pointer select-none text-[#4a4a4a] hover:text-[#252525]"
12
  >
13
    {sidebarExpended && toggleableIcon ? <XIcon /> : <MenuIcon />}
×
14
  </button>
15
)
16

17
MenuToggleSwitch.propTypes = {
×
18
  toggleSidebar: PropTypes.func.isRequired,
19
  sidebarExpended: PropTypes.bool.isRequired,
20
  toggleableIcon: PropTypes.bool.isRequired,
21
}
22

NEW
23
export default connect(({ UserPreferences: { sidebarExpended } }) => ({ sidebarExpended }), {
×
24
  toggleSidebar,
25
})(MenuToggleSwitch)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc