This commit is contained in:
2023-10-07 00:11:55 +05:30
parent 5ddb4d48d8
commit 66a59af061
5 changed files with 11 additions and 10 deletions

View File

@@ -34,12 +34,12 @@ const complement = (hex?: string) => {
return "#fff"
}
const getSuggestions = (group, name, icons) => {
const response: {
group?: Array<ObjectType>
[key: string]: Array<ObjectType> | undefined
} = {}
}
// const getSuggestions = (group, name, icons) => {
// const response: {
// group?: Array<ObjectType>
// [key: string]: Array<ObjectType> | undefined
// } = {}
// }
const IconController = (props: IconControllerProps): JSX.Element => {
const { group, name } = props
const [iconColor, setIconColor] = useState<string>()

View File

@@ -102,8 +102,8 @@ const NamespaceInfoBox = (props: NamespaceInfoBoxProps): JSX.Element => {
</main>
<Alert
show={displayed?.displayed}
key={uuid()}
message={message || "Link Copied!"}
uid={uuid()}
closeable
/>
</div>

View File

@@ -1,3 +1,4 @@
import { v4 as uuid } from "uuid"
import { Alert, Link, LoadableIcon } from "../.."
import { BrowserIncompatibilityProps } from "../../../types/components.interface"
import Helper from "../../../utils/helper"
@@ -48,7 +49,7 @@ const BrowserIncompatibility = (
}}
preemptNavigation
/>
<Alert message="Link Copied!" />
<Alert message="Link Copied!" uid={uuid()} />
</div>
)
}

View File

@@ -1665,7 +1665,7 @@ export function processOptions(options: DateRangeProps) {
"</li>"
}
list += "</ul>"
options.container.find(".ranges").prepend(list)
// options.container?.find(".ranges").prepend(list)
}
}

View File

@@ -1,3 +1,3 @@
import Dropdown from "./Dropdown"
import Dropdown from "./DropDown"
export default Dropdown