diff --git a/src/components/FamilyAcc/FamilyTableNew.jsx b/src/components/FamilyAcc/FamilyTableNew.jsx index fcce0a7..465ed50 100644 --- a/src/components/FamilyAcc/FamilyTableNew.jsx +++ b/src/components/FamilyAcc/FamilyTableNew.jsx @@ -58,9 +58,9 @@ export default function FamilyTableNew() { // Array of tab names const tabs = [ - { id: 1, name: "tasks" }, - { id: 2, name: "waiting" }, - { id: 3, name: "pending" }, + { id: 1, name: "Tasks" }, + { id: 2, name: "Waiting" }, + { id: 3, name: "Pending" }, ]; // State for the currently selected tab @@ -68,7 +68,7 @@ export default function FamilyTableNew() { // Function to handle tab changes const tabHandler = (value) => { - setTab(value); + setTab(value.toLowerCase()); }; // Object that maps tab names to their corresponding components @@ -200,7 +200,7 @@ export default function FamilyTableNew() { - + } > @@ -213,7 +213,7 @@ export default function FamilyTableNew() {
  • tabHandler(name)} className={`p-4 flex hover:text-purple transition-all ease-in-out items-center cursor-pointer overflow-hidden text-xl relative top-[2px] ${ - tab === name + tab.toLowerCase() === name.toLowerCase() ? "text-purple border-r" : "text-thin-light-gray" }`} @@ -235,7 +235,7 @@ export default function FamilyTableNew() {
    } + fallback={} > {selectedTabComponent} diff --git a/src/components/jobPopout/OfferJobPopout.jsx b/src/components/jobPopout/OfferJobPopout.jsx index 4102146..78864bb 100644 --- a/src/components/jobPopout/OfferJobPopout.jsx +++ b/src/components/jobPopout/OfferJobPopout.jsx @@ -142,10 +142,10 @@ function OfferJobPopout({ details, onClose, situation }) {
    -
    +
    {/* INPUT SECTION */} -
    +
    @@ -175,33 +175,34 @@ function OfferJobPopout({ details, onClose, situation }) {
    + +
    +

    + {details.title} +

    -

    - {details.title} -

    +
    + +

    {details.description}

    + {/* */} +
    -
    - -

    {details.description}

    - {/* */} +
    + {/* +

    {details.job_description || details.job_detail}

    */} + +