Skip to content

Commit

Permalink
Add semi colons
Browse files Browse the repository at this point in the history
  • Loading branch information
TomDijkema committed Oct 31, 2024
1 parent 11faed9 commit a6b0f2f
Show file tree
Hide file tree
Showing 18 changed files with 22 additions and 18 deletions.
2 changes: 1 addition & 1 deletion src/api/digitalMedia/GetDigitalMediaAnnotations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ const GetDigitalMediaAnnotations = async({ handle } : { handle: string }) => {
};

return digitalMediaAnnotations;
}
};

export default GetDigitalMediaAnnotations;
2 changes: 1 addition & 1 deletion src/api/digitalSpecimen/GetDigitalSpecimenAnnotations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ const GetDigitalSpecimenAnnotations = async({ handle } : { handle: string }) =>
};

return digitalSpecimenAnnotations;
}
};

export default GetDigitalSpecimenAnnotations;
2 changes: 1 addition & 1 deletion src/api/digitalSpecimen/GetDigitalSpecimenDigitalMedia.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ const GetDigitalSpecimenDigitalMedia = async({ handle } : { handle: string }) =>
};

return digitalSpecimenDigitalMedia;
}
};

export default GetDigitalSpecimenDigitalMedia;
2 changes: 1 addition & 1 deletion src/api/phylopic/GetPhylopicBuild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ const GetPhylopicBuild = async () => {
console.error(error);
}
return phylopicBuild;
}
};

export default GetPhylopicBuild;
2 changes: 1 addition & 1 deletion src/api/phylopic/GetPhylopicIcon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ const GetPhylopicIcon = async (phylopicBuild: number, taxonomyIdentification?: s
};

return taxonomyIconUrl;
}
};

export default GetPhylopicIcon;
4 changes: 2 additions & 2 deletions src/app/Types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ type DataFragment = {
annotations?: Annotation[],
[property: string]: any
}
}
};

export type JSONResult = {
data: DataFragment,
Expand All @@ -48,7 +48,7 @@ export type JSONResultArray = {
meta?: {
totalRecords: number
}
}
};

/* User */
export type User = {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Loading.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@ const Loading = () => {
</Row>
</Container>
);
}
};

export default Loading;
2 changes: 1 addition & 1 deletion src/components/demo/DOITooltipDemo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,6 @@ const DOITooltipDemo = (props: Props) => {
</div>
</>
);
}
};

export default DOITooltipDemo;
2 changes: 1 addition & 1 deletion src/components/demo/Demo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,6 @@ const Demo = () => {
/>
</div>
);
}
};

export default Demo;
4 changes: 4 additions & 0 deletions src/components/elements/breadCrumbs/BreadCrumbs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ type BreadCrumb = {
}


/**
* Component that renders bread crumbs based upon the current location
* @returns JSX Component
*/
const BreadCrumbs = () => {
/* Hooks */
const location = useLocation();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ const OpenStreetMap = (props: Props) => {
}
</div>
);
}
};

export default OpenStreetMap;
2 changes: 1 addition & 1 deletion src/components/elements/header/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ const Navigation = () => {
</Row>
</div>
);
}
};

export default Navigation;
2 changes: 1 addition & 1 deletion src/components/elements/header/UserMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ const UserMenu = () => {
/>
</div>
);
}
};

export default UserMenu;
2 changes: 1 addition & 1 deletion src/components/elements/notifications/Notification.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@ const Notification = (props: Props) => {
</Toast.Body>
</Toast>
);
}
};

export default Notification;
2 changes: 1 addition & 1 deletion src/components/elements/notifications/Notifications.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ const Notifications = () => {
))}
</ToastContainer>
);
}
};

export default Notifications;
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ const VirtualCollectionSearch = () => {
</Row>
</div>
);
}
};

export default VirtualCollectionSearch;
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,6 @@ const TopicOriginFilter = (props: Props) => {
</Row>
</button>
);
}
};

export default TopicOriginFilter;
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ const TitleCard = (props: Props) => {
</Row>
</div>
);
}
};

export default TitleCard;

0 comments on commit a6b0f2f

Please sign in to comment.