Refactor homepage search, visual improvement

This commit is contained in:
Michael Shamoon committed 2022-10-20 20:04:24 -07:00
1 parent fe770c3864
commit 3249c95a74
4 files changed
+29 -16

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ import Widget from "./widget";
import Docker from "widgets/docker/component";
import { SettingsContext } from "utils/contexts/settings";
function resolveIcon(icon) {
export function resolveIcon(icon) {
// direct or relative URLs
if (icon.startsWith("http") || icon.startsWith("/")) {
return <Image src={`${icon}`} width={32} height={32} alt="logo" />;