gwcuva/gwc-website

View on GitHub

Showing 367 of 367 total issues

Function Footer has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function Footer(props: Props) {
  return (
    <div id={props.id} style={{ overflow: 'hidden' }}>
      <div className="bg-turq d-flex flex-row pb-5 pt-5">
        <Col md={10}>
Severity: Minor
Found in src/components/GirlsHooHack2024/Footer/Footer.tsx - About 1 hr to fix

    Function Signup has 29 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    function Signup() {
      const [registration, setRegistration] = useState({'registrationLink': ''});
      useEffect(() => {
        const fetchRegistration = async () => {
          const { careerFairRegistration } = await request(
    Severity: Minor
    Found in src/components/CareerFair2023/Signup/Signup.tsx - About 1 hr to fix

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

                    <img src={GWCLogo} width={isMobile ? "112px" : "150px"} height={isMobile ? "44px" : "82px"} className={isMobile ? "pl-2" : "pl-5"} alt="Girls Who Code at the University of Virginia logo"/>
      Severity: Major
      Found in src/components/GirlsHooHack2024/Footer/Footer.tsx and 2 other locations - About 1 hr to fix
      src/components/GirlsHooHack2024/Footer/Footer.tsx on lines 22..22
      src/components/Main/Footer/Footer.tsx on lines 19..19

      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 58.

      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 3 locations. Consider refactoring.
      Open

                <img src={logo} width={isMobile ? "112px" : "150px"} height={isMobile ? "44px" : "82px"} className={isMobile ? "pl-2" : "pl-5"} alt="Girls Who Code at the University of Virginia logo"/>
      Severity: Major
      Found in src/components/Main/Footer/Footer.tsx and 2 other locations - About 1 hr to fix
      src/components/GirlsHooHack2024/Footer/Footer.tsx on lines 21..21
      src/components/GirlsHooHack2024/Footer/Footer.tsx on lines 22..22

      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 58.

      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 3 locations. Consider refactoring.
      Open

                    <img src={StandoutSticker} width={isMobile ? "75px" : "125px"} height={isMobile ? "40px" : "100px"} className={isMobile ? "pl-2" : "pl-5"} alt="Standout logo"/>
      Severity: Major
      Found in src/components/GirlsHooHack2024/Footer/Footer.tsx and 2 other locations - About 1 hr to fix
      src/components/GirlsHooHack2024/Footer/Footer.tsx on lines 21..21
      src/components/Main/Footer/Footer.tsx on lines 19..19

      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 58.

      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 Sessions has 28 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      function Sessions() {
        const [sessions, setSessions] = useState([{'id': '', 'eventName': '', 'eventDetail': '', 'zoomLink': '', 'inPerson': ''}]);
        // const [dropdownOpen, setDropdownOpen] = useState(false);
      
        useEffect(() => {
      Severity: Minor
      Found in src/components/CareerFair2022/Schedule/Sessions.tsx - About 1 hr to fix

        Function Sessions has 28 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        function Sessions() {
          const [sessions, setSessions] = useState([{'id': '', 'eventName': '', 'eventDetail': '', 'zoomLink': '', 'inPerson': ''}]);
          // const [dropdownOpen, setDropdownOpen] = useState(false);
        
          useEffect(() => {
        Severity: Minor
        Found in src/components/CareerFair2024/Schedule/Sessions.tsx - About 1 hr to fix

          Function fetchWorkshops has 28 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              const fetchWorkshops = async () => {
                const { hackathonWorkshops } = await request(
                  process.env.REACT_APP_GRAPHCMS_URL ? process.env.REACT_APP_GRAPHCMS_URL : "",
                  `
                    { 
          Severity: Minor
          Found in src/components/GirlsHooHack2022/JumpStart/JumpStart.tsx - About 1 hr to fix

            Function fetchWorkshops has 28 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                const fetchWorkshops = async () => {
                  const { hackathonWorkshops } = await request(
                    process.env.REACT_APP_GRAPHCMS_URL ? process.env.REACT_APP_GRAPHCMS_URL : "",
                    `
                      { 
            Severity: Minor
            Found in src/components/GirlsHooHack2023/JumpStart/JumpStart.tsx - About 1 hr to fix

              Function fetchWorkshops has 28 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  const fetchWorkshops = async () => {
                    const { hackathonWorkshops } = await request(
                      process.env.REACT_APP_GRAPHCMS_URL ? process.env.REACT_APP_GRAPHCMS_URL : "",
                      `
                        { 
              Severity: Minor
              Found in src/components/GirlsHooHack2024/JumpStart/JumpStart.tsx - About 1 hr to fix

                Function Sessions has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                function Sessions() {
                  const [sessions, setSessions] = useState([{'id': '', 'eventName': '', 'eventDetail': '', 'zoomLink': '', 'inPerson': ''}]);
                  // const [dropdownOpen, setDropdownOpen] = useState(false);
                
                  useEffect(() => {
                Severity: Minor
                Found in src/components/CareerFair2023/Schedule/Sessions.tsx - About 1 hr to fix

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

                  interface Props {
                      mem: {
                          id: string;
                          name: string;
                          bio: string;
                  Severity: Major
                  Found in src/components/GirlsHooHack2022/Speakers/KeynoteItem.tsx and 8 other locations - About 1 hr to fix
                  src/components/GirlsHooHack2021/Speakers/KeynoteItem.tsx on lines 4..12
                  src/components/GirlsHooHack2021/Speakers/PanelistItem.tsx on lines 4..12
                  src/components/GirlsHooHack2022/Speakers/PanelistItem.tsx on lines 4..12
                  src/components/GirlsHooHack2023/Speakers/KeynoteItem.tsx on lines 4..12
                  src/components/GirlsHooHack2023/Speakers/PanelistItem.tsx on lines 4..12
                  src/components/GirlsHooHack2024/Speakers/KeynoteItem.tsx on lines 5..13
                  src/components/GirlsHooHack2024/Speakers/PanelistItem.tsx on lines 4..12
                  src/components/Main/Team/Profile.tsx on lines 4..12

                  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 57.

                  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 9 locations. Consider refactoring.
                  Open

                  interface Props {
                      mem: {
                          id: string;
                          name: string;
                          bio: string;
                  Severity: Major
                  Found in src/components/GirlsHooHack2021/Speakers/KeynoteItem.tsx and 8 other locations - About 1 hr to fix
                  src/components/GirlsHooHack2021/Speakers/PanelistItem.tsx on lines 4..12
                  src/components/GirlsHooHack2022/Speakers/KeynoteItem.tsx on lines 4..12
                  src/components/GirlsHooHack2022/Speakers/PanelistItem.tsx on lines 4..12
                  src/components/GirlsHooHack2023/Speakers/KeynoteItem.tsx on lines 4..12
                  src/components/GirlsHooHack2023/Speakers/PanelistItem.tsx on lines 4..12
                  src/components/GirlsHooHack2024/Speakers/KeynoteItem.tsx on lines 5..13
                  src/components/GirlsHooHack2024/Speakers/PanelistItem.tsx on lines 4..12
                  src/components/Main/Team/Profile.tsx on lines 4..12

                  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 57.

                  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 9 locations. Consider refactoring.
                  Open

                  interface Props {
                      mem: {
                          id: string;
                          name: string;
                          bio: string;
                  Severity: Major
                  Found in src/components/GirlsHooHack2023/Speakers/PanelistItem.tsx and 8 other locations - About 1 hr to fix
                  src/components/GirlsHooHack2021/Speakers/KeynoteItem.tsx on lines 4..12
                  src/components/GirlsHooHack2021/Speakers/PanelistItem.tsx on lines 4..12
                  src/components/GirlsHooHack2022/Speakers/KeynoteItem.tsx on lines 4..12
                  src/components/GirlsHooHack2022/Speakers/PanelistItem.tsx on lines 4..12
                  src/components/GirlsHooHack2023/Speakers/KeynoteItem.tsx on lines 4..12
                  src/components/GirlsHooHack2024/Speakers/KeynoteItem.tsx on lines 5..13
                  src/components/GirlsHooHack2024/Speakers/PanelistItem.tsx on lines 4..12
                  src/components/Main/Team/Profile.tsx on lines 4..12

                  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 57.

                  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 9 locations. Consider refactoring.
                  Open

                  interface Props {
                    mem: {
                      id: string,
                      name: string,
                      position: string,
                  Severity: Major
                  Found in src/components/Main/Team/Profile.tsx and 8 other locations - About 1 hr to fix
                  src/components/GirlsHooHack2021/Speakers/KeynoteItem.tsx on lines 4..12
                  src/components/GirlsHooHack2021/Speakers/PanelistItem.tsx on lines 4..12
                  src/components/GirlsHooHack2022/Speakers/KeynoteItem.tsx on lines 4..12
                  src/components/GirlsHooHack2022/Speakers/PanelistItem.tsx on lines 4..12
                  src/components/GirlsHooHack2023/Speakers/KeynoteItem.tsx on lines 4..12
                  src/components/GirlsHooHack2023/Speakers/PanelistItem.tsx on lines 4..12
                  src/components/GirlsHooHack2024/Speakers/KeynoteItem.tsx on lines 5..13
                  src/components/GirlsHooHack2024/Speakers/PanelistItem.tsx on lines 4..12

                  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 57.

                  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 9 locations. Consider refactoring.
                  Open

                  interface Props {
                      mem: {
                          id: string;
                          name: string;
                          bio: string;
                  Severity: Major
                  Found in src/components/GirlsHooHack2023/Speakers/KeynoteItem.tsx and 8 other locations - About 1 hr to fix
                  src/components/GirlsHooHack2021/Speakers/KeynoteItem.tsx on lines 4..12
                  src/components/GirlsHooHack2021/Speakers/PanelistItem.tsx on lines 4..12
                  src/components/GirlsHooHack2022/Speakers/KeynoteItem.tsx on lines 4..12
                  src/components/GirlsHooHack2022/Speakers/PanelistItem.tsx on lines 4..12
                  src/components/GirlsHooHack2023/Speakers/PanelistItem.tsx on lines 4..12
                  src/components/GirlsHooHack2024/Speakers/KeynoteItem.tsx on lines 5..13
                  src/components/GirlsHooHack2024/Speakers/PanelistItem.tsx on lines 4..12
                  src/components/Main/Team/Profile.tsx on lines 4..12

                  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 57.

                  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 9 locations. Consider refactoring.
                  Open

                  interface Props {
                      mem: {
                          id: string;
                          name: string;
                          bio: string;
                  Severity: Major
                  Found in src/components/GirlsHooHack2024/Speakers/PanelistItem.tsx and 8 other locations - About 1 hr to fix
                  src/components/GirlsHooHack2021/Speakers/KeynoteItem.tsx on lines 4..12
                  src/components/GirlsHooHack2021/Speakers/PanelistItem.tsx on lines 4..12
                  src/components/GirlsHooHack2022/Speakers/KeynoteItem.tsx on lines 4..12
                  src/components/GirlsHooHack2022/Speakers/PanelistItem.tsx on lines 4..12
                  src/components/GirlsHooHack2023/Speakers/KeynoteItem.tsx on lines 4..12
                  src/components/GirlsHooHack2023/Speakers/PanelistItem.tsx on lines 4..12
                  src/components/GirlsHooHack2024/Speakers/KeynoteItem.tsx on lines 5..13
                  src/components/Main/Team/Profile.tsx on lines 4..12

                  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 57.

                  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 9 locations. Consider refactoring.
                  Open

                  interface Props {
                      mem: {
                          id: string;
                          name: string;
                          bio: string;
                  Severity: Major
                  Found in src/components/GirlsHooHack2021/Speakers/PanelistItem.tsx and 8 other locations - About 1 hr to fix
                  src/components/GirlsHooHack2021/Speakers/KeynoteItem.tsx on lines 4..12
                  src/components/GirlsHooHack2022/Speakers/KeynoteItem.tsx on lines 4..12
                  src/components/GirlsHooHack2022/Speakers/PanelistItem.tsx on lines 4..12
                  src/components/GirlsHooHack2023/Speakers/KeynoteItem.tsx on lines 4..12
                  src/components/GirlsHooHack2023/Speakers/PanelistItem.tsx on lines 4..12
                  src/components/GirlsHooHack2024/Speakers/KeynoteItem.tsx on lines 5..13
                  src/components/GirlsHooHack2024/Speakers/PanelistItem.tsx on lines 4..12
                  src/components/Main/Team/Profile.tsx on lines 4..12

                  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 57.

                  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 9 locations. Consider refactoring.
                  Open

                  interface Props {
                      mem: {
                          id: string;
                          name: string;
                          bio: string;
                  Severity: Major
                  Found in src/components/GirlsHooHack2024/Speakers/KeynoteItem.tsx and 8 other locations - About 1 hr to fix
                  src/components/GirlsHooHack2021/Speakers/KeynoteItem.tsx on lines 4..12
                  src/components/GirlsHooHack2021/Speakers/PanelistItem.tsx on lines 4..12
                  src/components/GirlsHooHack2022/Speakers/KeynoteItem.tsx on lines 4..12
                  src/components/GirlsHooHack2022/Speakers/PanelistItem.tsx on lines 4..12
                  src/components/GirlsHooHack2023/Speakers/KeynoteItem.tsx on lines 4..12
                  src/components/GirlsHooHack2023/Speakers/PanelistItem.tsx on lines 4..12
                  src/components/GirlsHooHack2024/Speakers/PanelistItem.tsx on lines 4..12
                  src/components/Main/Team/Profile.tsx on lines 4..12

                  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 57.

                  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 9 locations. Consider refactoring.
                  Open

                  interface Props {
                      mem: {
                          id: string;
                          name: string;
                          bio: string;
                  Severity: Major
                  Found in src/components/GirlsHooHack2022/Speakers/PanelistItem.tsx and 8 other locations - About 1 hr to fix
                  src/components/GirlsHooHack2021/Speakers/KeynoteItem.tsx on lines 4..12
                  src/components/GirlsHooHack2021/Speakers/PanelistItem.tsx on lines 4..12
                  src/components/GirlsHooHack2022/Speakers/KeynoteItem.tsx on lines 4..12
                  src/components/GirlsHooHack2023/Speakers/KeynoteItem.tsx on lines 4..12
                  src/components/GirlsHooHack2023/Speakers/PanelistItem.tsx on lines 4..12
                  src/components/GirlsHooHack2024/Speakers/KeynoteItem.tsx on lines 5..13
                  src/components/GirlsHooHack2024/Speakers/PanelistItem.tsx on lines 4..12
                  src/components/Main/Team/Profile.tsx on lines 4..12

                  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 57.

                  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

                  Severity
                  Category
                  Status
                  Source
                  Language