uselotus / lotus

File .deepsource.toml not found in the default branch of the repository root. Please refer to the docs.

Prefer boolean attributes notation in JSX JS-0400
Anti-pattern
Minor
a year agoa year old
Value must be omitted for boolean attributes
295                <h3 className=" font-bold">KPIs</h3>
296                <div className="ml-10 ">
297                  {" "}
298                  <Radio.Button value={true}>Total Revenue</Radio.Button>299                </div>
300              </div>
301            </div>
Value must be omitted for boolean attributes
241              <Radio.Button value="forecast" disabled={true}>
242                Forecast
243              </Radio.Button>
244              <Radio.Button value="deployment" disabled={true}>245                Deployed Test
246              </Radio.Button>
247            </Radio.Group>
Value must be omitted for boolean attributes
238              value="backtest"
239            >
240              <Radio.Button value="backtest">Backtest</Radio.Button>
241              <Radio.Button value="forecast" disabled={true}>242                Forecast
243              </Radio.Button>
244              <Radio.Button value="deployment" disabled={true}>
Value must be omitted for boolean attributes
 87    <Fragment>
 88      <Typography.Title level={2}>Activity Stream</Typography.Title>
 89      <div className="w-1/2 justify-center">
 90        <Paper border={true}> 91          <ul role="list" className="divide-y divide-gray-200">
 92            {activityItems?.results.map((activityItem) => (
 93              <li key={activityItem.id} className="py-4">
Value must be omitted for boolean attributes
49            buttonStyle="solid"
50          >
51            <Radio.Button value={false}>Inactive</Radio.Button>
52            <Radio.Button value={true}>Active</Radio.Button>53          </Radio.Group>
54        </div>
55      </div>