Skip to content

Commit

Permalink
fix(pci-ai-endpoints-app): fix PR review
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Fradet committed Feb 7, 2025
1 parent c9dad43 commit 3e490f9
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ export interface BreadcrumbProps {
items?: BreadcrumbItem[];
}

const capitalize = (name: string) => {
if (!name) return '';
return name.charAt(0).toUpperCase() + name.slice(1).toLowerCase();
};

function Breadcrumb() {
const hrefProject = useProjectUrl('public-cloud');
const { t } = useTranslation('metric');
Expand All @@ -31,11 +36,6 @@ function Breadcrumb() {
}
}, [location.pathname]);

const capitalize = (name: string) => {
if (!name) return '';
return name.charAt(0).toUpperCase() + name.slice(1).toLowerCase();
};

return (
<OsdsBreadcrumb
items={[
Expand Down
17 changes: 17 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3987,6 +3987,11 @@
resolved "https://registry.yarnpkg.com/@hookform/resolvers/-/resolvers-3.3.4.tgz#de9b668c2835eb06892290192de6e2a5c906229b"
integrity sha512-o5cgpGOuJYrd+iMKvkttOclgwRW86EsWJZZRC23prf0uU2i48Htq4PuT73AVb9ionFyZrwYEITuOFGF+BydEtQ==

"@hookform/resolvers@^3.9.1":
version "3.10.0"
resolved "https://registry.yarnpkg.com/@hookform/resolvers/-/resolvers-3.10.0.tgz#7bfd18113daca4e57e27e1205b7d5a2d371aa59a"
integrity sha512-79Dv+3mDF7i+2ajj7SkypSKHhl1cbln1OGavqrsF7p6mbUv11xpqpacPsGDCTRvCSjEEIez2ef1NveSVL3b0Ag==

"@humanwhocodes/config-array@^0.11.14":
version "0.11.14"
resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.14.tgz#d78e481a039f7566ecc9660b4ea7fe6b1fec442b"
Expand Down Expand Up @@ -5912,6 +5917,13 @@
dependencies:
lodash "^4.17.15"

"@ovh-ux/ovh-at-internet@^0.18.1":
version "0.18.1"
resolved "https://registry.yarnpkg.com/@ovh-ux/ovh-at-internet/-/ovh-at-internet-0.18.1.tgz#a9d0d543a187031f61b699c57aaec0529f68a790"
integrity sha512-i0ZFNGrktTsgTw8G2Fx2pn/xkgmwhyJ7JsCx7+RkzEakcV2E3+u5yTfSNlLVyHTMiqKGyjMz330/dw221qVaDw==
dependencies:
lodash-es "^4.17.15"

"@ovh-ux/rollup-plugin-less-inject@^1.0.5":
version "1.0.6"
resolved "https://registry.yarnpkg.com/@ovh-ux/rollup-plugin-less-inject/-/rollup-plugin-less-inject-1.0.6.tgz#8db90747f02d2bb95e3a5563d1c5a77a25edd0ad"
Expand Down Expand Up @@ -29191,6 +29203,11 @@ zod@^3.23.8:
resolved "https://registry.yarnpkg.com/zod/-/zod-3.23.8.tgz#e37b957b5d52079769fb8097099b592f0ef4067d"
integrity sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==

zod@^3.24.1:
version "3.24.1"
resolved "https://registry.yarnpkg.com/zod/-/zod-3.24.1.tgz#27445c912738c8ad1e9de1bea0359fa44d9d35ee"
integrity sha512-muH7gBL9sI1nciMZV67X5fTKKBLtwpZ5VBp1vsOQzj1MhrBZ4wlVCm3gedKZWLp0Oyel8sIGfeiz54Su+OVT+A==

zustand@^4.5.5:
version "4.5.5"
resolved "https://registry.yarnpkg.com/zustand/-/zustand-4.5.5.tgz#f8c713041543715ec81a2adda0610e1dc82d4ad1"
Expand Down

0 comments on commit 3e490f9

Please sign in to comment.