Lambda-School-Labs/kansha-fe

View on GitHub

Showing 187 of 187 total issues

Function OrganizationHome has 190 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const OrganizationHome = () => {
    const titleArr = ['Employees', 'Teams'];
    // Button states
    const [empButton, setEmpButton] = useState(true);
    const [createTeamsBtn, setCreateTeamsBtn] = useState(false);
Severity: Major
Found in src/components/AdminTeams/OrganizationHome.jsx - About 7 hrs to fix

    Identical blocks of code found in 2 locations. Consider refactoring.
    Open

        const handleSubmit = () => {
            axiosWithAuth()
                .post('/employees', employee)
                .then(res => {
                    setEmployees([...employees, employee]);
    Severity: Major
    Found in src/components/Onboarding/S4BUserUpload.jsx and 1 other location - About 7 hrs to fix
    src/components/UserUpload/SingleUser.jsx on lines 27..50

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 181.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Identical blocks of code found in 2 locations. Consider refactoring.
    Open

        const handleSubmit = () => {
            axiosWithAuth()
                .post('/employees', employee)
                .then(res => {
                    setEmployees([...employees, employee]);
    Severity: Major
    Found in src/components/UserUpload/SingleUser.jsx and 1 other location - About 7 hrs to fix
    src/components/Onboarding/S4BUserUpload.jsx on lines 30..53

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 181.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

                        <div className="bulk-success-container-names">
                            <table>
                                <tr>
                                    <th>First name</th>
                                    <th>Last name</th>
    Severity: Major
    Found in src/components/UserUpload/BulkUser.jsx and 1 other location - About 6 hrs to fix
    src/components/Onboarding/S4CUserUpload.jsx on lines 80..97

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 171.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Similar blocks of code found in 2 locations. Consider refactoring.
    Open

                        <div className="bulk-success-container-names">
                            <table>
                                <tr>
                                    <th>First name</th>
                                    <th>Last name</th>
    Severity: Major
    Found in src/components/Onboarding/S4CUserUpload.jsx and 1 other location - About 6 hrs to fix
    src/components/UserUpload/BulkUser.jsx on lines 82..99

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 171.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Identical blocks of code found in 2 locations. Consider refactoring.
    Open

        const onDrop = useCallback(acceptedFiles => {
            acceptedFiles.forEach(file => {
                if (file.name.substr(file.name.length - 3) === 'csv') {
                    const reader = new FileReader();
                    reader.onabort = () => setError('file reading was aborted');
    Severity: Major
    Found in src/components/Onboarding/S4CUserUpload.jsx and 1 other location - About 6 hrs to fix
    src/components/UserUpload/BulkUser.jsx on lines 30..45

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 164.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Identical blocks of code found in 2 locations. Consider refactoring.
    Open

        const onDrop = useCallback(acceptedFiles => {
            acceptedFiles.forEach(file => {
                if (file.name.substr(file.name.length - 3) === 'csv') {
                    const reader = new FileReader();
                    reader.onabort = () => setError('file reading was aborted');
    Severity: Major
    Found in src/components/UserUpload/BulkUser.jsx and 1 other location - About 6 hrs to fix
    src/components/Onboarding/S4CUserUpload.jsx on lines 37..52

    Duplicated Code

    Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

    Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

    When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

    Tuning

    This issue has a mass of 164.

    We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

    The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

    If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

    See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

    Refactorings

    Further Reading

    Function AboutUs has 148 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    export default function AboutUs() {
        const labs21 = [
            {
                name: 'Andrew Ackerman',
                job: 'Web Developer',
    Severity: Major
    Found in src/components/Landing/AboutUs.jsx - About 5 hrs to fix

      Function feedReducer has 141 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      export const feedReducer = (state = initialState, action) => {
          switch (action.type) {
              case FEED_LOAD_START:
                  return {
                      ...state,
      Severity: Major
      Found in src/store/reducers/feed-reducer.js - About 5 hrs to fix

        Identical blocks of code found in 2 locations. Consider refactoring.
        Open

            const handleSubmit = e => {
                e.preventDefault();
                const data = new FormData();
                data.append('bulkupload', file);
        
        
        Severity: Major
        Found in src/components/Onboarding/S4CUserUpload.jsx and 1 other location - About 5 hrs to fix
        src/components/UserUpload/BulkUser.jsx on lines 13..28

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 140.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

        Identical blocks of code found in 2 locations. Consider refactoring.
        Open

            const handleSubmit = e => {
                e.preventDefault();
                const data = new FormData();
                data.append('bulkupload', file);
        
        
        Severity: Major
        Found in src/components/UserUpload/BulkUser.jsx and 1 other location - About 5 hrs to fix
        src/components/Onboarding/S4CUserUpload.jsx on lines 16..31

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 140.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

        Function userReducer has 104 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        export const userReducer = (state = initialState, action) => {
            switch (action.type) {
                /*
                dispatched by the authorizeUser action creator
                */
        Severity: Major
        Found in src/store/reducers/user-reducer.js - About 4 hrs to fix

          Similar blocks of code found in 7 locations. Consider refactoring.
          Open

          describe('Nav component', () => {
              it('renders correctly', () => {
                  const wrapper = shallow(<Nav />);
          
                  expect(wrapper.exists());
          Severity: Major
          Found in src/tests/landing tests/Nav.spec.js and 6 other locations - About 4 hrs to fix
          src/tests/landing tests/Footer.spec.js on lines 9..21
          src/tests/landing tests/ListOfFeatures.spec.js on lines 9..23
          src/tests/landing tests/Main.spec.js on lines 9..21
          src/tests/landing tests/ResultsYouCanSee.spec.js on lines 9..21
          src/tests/landing tests/WhyKansha.spec.js on lines 9..21
          src/tests/landing tests/index.spec.js on lines 9..23

          Duplicated Code

          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

          Tuning

          This issue has a mass of 117.

          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

          Refactorings

          Further Reading

          Similar blocks of code found in 7 locations. Consider refactoring.
          Open

          describe('List of Features Component', () => {
              it('renders correctly', () => {
                  const wrapper = shallow(<ListOfFeatures />);
          
                  expect(wrapper.exists());
          Severity: Major
          Found in src/tests/landing tests/ListOfFeatures.spec.js and 6 other locations - About 4 hrs to fix
          src/tests/landing tests/Footer.spec.js on lines 9..21
          src/tests/landing tests/Main.spec.js on lines 9..21
          src/tests/landing tests/Nav.spec.js on lines 9..21
          src/tests/landing tests/ResultsYouCanSee.spec.js on lines 9..21
          src/tests/landing tests/WhyKansha.spec.js on lines 9..21
          src/tests/landing tests/index.spec.js on lines 9..23

          Duplicated Code

          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

          Tuning

          This issue has a mass of 117.

          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

          Refactorings

          Further Reading

          Similar blocks of code found in 7 locations. Consider refactoring.
          Open

          describe('Why Kansha component', () => {
              it('renders correctly', () => {
                  const wrapper = shallow(<WhyKansha />);
          
                  expect(wrapper.exists());
          Severity: Major
          Found in src/tests/landing tests/WhyKansha.spec.js and 6 other locations - About 4 hrs to fix
          src/tests/landing tests/Footer.spec.js on lines 9..21
          src/tests/landing tests/ListOfFeatures.spec.js on lines 9..23
          src/tests/landing tests/Main.spec.js on lines 9..21
          src/tests/landing tests/Nav.spec.js on lines 9..21
          src/tests/landing tests/ResultsYouCanSee.spec.js on lines 9..21
          src/tests/landing tests/index.spec.js on lines 9..23

          Duplicated Code

          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

          Tuning

          This issue has a mass of 117.

          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

          Refactorings

          Further Reading

          Similar blocks of code found in 7 locations. Consider refactoring.
          Open

          describe('Main Title', () => {
              it('renders correctly', () => {
                  const wrapper = shallow(<Main />);
          
                  expect(wrapper.exists());
          Severity: Major
          Found in src/tests/landing tests/Main.spec.js and 6 other locations - About 4 hrs to fix
          src/tests/landing tests/Footer.spec.js on lines 9..21
          src/tests/landing tests/ListOfFeatures.spec.js on lines 9..23
          src/tests/landing tests/Nav.spec.js on lines 9..21
          src/tests/landing tests/ResultsYouCanSee.spec.js on lines 9..21
          src/tests/landing tests/WhyKansha.spec.js on lines 9..21
          src/tests/landing tests/index.spec.js on lines 9..23

          Duplicated Code

          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

          Tuning

          This issue has a mass of 117.

          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

          Refactorings

          Further Reading

          Similar blocks of code found in 7 locations. Consider refactoring.
          Open

          describe('Results You Can See Title', () => {
              it('renders correctly', () => {
                  const wrapper = shallow(<ResultsYouCanSee />);
          
                  expect(wrapper.exists());
          Severity: Major
          Found in src/tests/landing tests/ResultsYouCanSee.spec.js and 6 other locations - About 4 hrs to fix
          src/tests/landing tests/Footer.spec.js on lines 9..21
          src/tests/landing tests/ListOfFeatures.spec.js on lines 9..23
          src/tests/landing tests/Main.spec.js on lines 9..21
          src/tests/landing tests/Nav.spec.js on lines 9..21
          src/tests/landing tests/WhyKansha.spec.js on lines 9..21
          src/tests/landing tests/index.spec.js on lines 9..23

          Duplicated Code

          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

          Tuning

          This issue has a mass of 117.

          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

          Refactorings

          Further Reading

          Similar blocks of code found in 7 locations. Consider refactoring.
          Open

          describe('Footer Component', () => {
              it('renders correctly', () => {
                  const wrapper = shallow(<Footer />);
          
                  expect(wrapper.exists());
          Severity: Major
          Found in src/tests/landing tests/Footer.spec.js and 6 other locations - About 4 hrs to fix
          src/tests/landing tests/ListOfFeatures.spec.js on lines 9..23
          src/tests/landing tests/Main.spec.js on lines 9..21
          src/tests/landing tests/Nav.spec.js on lines 9..21
          src/tests/landing tests/ResultsYouCanSee.spec.js on lines 9..21
          src/tests/landing tests/WhyKansha.spec.js on lines 9..21
          src/tests/landing tests/index.spec.js on lines 9..23

          Duplicated Code

          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

          Tuning

          This issue has a mass of 117.

          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

          Refactorings

          Further Reading

          Similar blocks of code found in 7 locations. Consider refactoring.
          Open

          describe('Components in index', () => {
              it('renders correctly', () => {
                  const wrapper = shallow(<Index />);
          
                  expect(wrapper.exists());
          Severity: Major
          Found in src/tests/landing tests/index.spec.js and 6 other locations - About 4 hrs to fix
          src/tests/landing tests/Footer.spec.js on lines 9..21
          src/tests/landing tests/ListOfFeatures.spec.js on lines 9..23
          src/tests/landing tests/Main.spec.js on lines 9..21
          src/tests/landing tests/Nav.spec.js on lines 9..21
          src/tests/landing tests/ResultsYouCanSee.spec.js on lines 9..21
          src/tests/landing tests/WhyKansha.spec.js on lines 9..21

          Duplicated Code

          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

          Tuning

          This issue has a mass of 117.

          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

          Refactorings

          Further Reading

          Function S4AUserUpload has 100 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          function S4AUserUpload() {
              const [uploadNow, setUploadNow] = useState('');
              const [uploadMethod, setUploadMethod] = useState('');
          
              let history = useHistory();
          Severity: Major
          Found in src/components/Onboarding/S4AUserUpload.jsx - About 4 hrs to fix
            Severity
            Category
            Status
            Source
            Language