Skip to content

Commit

Permalink
lint fixes -- will be rebased
Browse files Browse the repository at this point in the history
  • Loading branch information
sknep committed Oct 16, 2024
1 parent 8329ced commit ab8b159
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/components/Reports/ScanFinding.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const ScanFinding = ({
let hasMoreInfo = '';
let ruleId = '';

if ((sbtType === 'owasp-zap') || (sbtType === 'owasp-zap')) {
if ((sbtType === 'zap') || (sbtType === 'owasp-zap')) {
({
name: title, solution, description,
} = finding);
Expand Down
1 change: 0 additions & 1 deletion frontend/pages/Reports/ShowReport.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import Zap from '../../components/Reports/Zap';
import ReportLoading from '../../components/Reports/Loading';
import ReportNotFound from '../../components/Reports/ReportNotFound';
import { useReportData } from '../../hooks/useReportData';
import { useDefaultScanRules } from '../../hooks/useDefaultScanRules';

export default function Report() {
const { id } = useParams();
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/Reports/ShowReportSubPage.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useState, useEffect } from 'react';
import React from 'react';
import { useParams } from 'react-router-dom';

import A11yScanChild from '../../components/Reports/A11yScanChildLayout';
Expand Down

0 comments on commit ab8b159

Please sign in to comment.