diff --git a/src/components/quicklaunch.jsx b/src/components/quicklaunch.jsx index 0304f038e37..642af3af1d4 100644 --- a/src/components/quicklaunch.jsx +++ b/src/components/quicklaunch.jsx @@ -152,6 +152,11 @@ export default function QuickLaunch({servicesAndBookmarks, searchString, setSear return {parts.map((part, i) => part.toLowerCase() === searchString.toLowerCase() ? {part} : part)}; } + function getRandomKeyId() { + // as these are dynamically generated elements, we can generate random keys + return Math.floor(Math.random() * 100000); + } + return (
- {results.length > 0 &&