Skip to content

Commit

Permalink
chore: fix broken URL
Browse files Browse the repository at this point in the history
  • Loading branch information
karl-cardenas-coding committed Aug 19, 2024
1 parent 5da1b94 commit f163449
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitleaksignore
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,4 @@ e4040084011d4d7935a589959b96ebc5cfba7a94:docs/docs-content/integrations/kubernet
969ac609f82bacb36093c429adfc096c5a97e10f:docs/docs-content/tutorials/cluster-deployment/pde/deploy-app.md:generic-api-key:1195
969ac609f82bacb36093c429adfc096c5a97e10f:docs/docs-content/tutorials/cluster-deployment/pde/deploy-app.md:generic-api-key:1232
969ac609f82bacb36093c429adfc096c5a97e10f:docs/docs-content/tutorials/edge/deploy-cluster.md:generic-api-key:240
ac893f7f5246c4299112db59149bca1d560efa13:docs/docs-content/integrations/kubernetes.md:generic-api-key:1005
3 changes: 2 additions & 1 deletion docs/docs-content/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,9 @@ Check out the following sections to learn about all the new features and improve

#### Pack Notes

<!-- prettier-ignore -->
- ngrok published a documentation page where you can learn more about their ingress pack and how to use it. You can
review their contribution by visiting the [ngrok](integrations/ngrok.md) documentation page.
review their contribution by visiting the <VersionedLink text="ngrok" url="/integrations/packs/?pack=ngrok-ingress-controller" /> documentation page.

#### Deprecations and Removals

Expand Down
1 change: 1 addition & 0 deletions src/components/PacksReadme/PacksReadme.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ export default function PacksReadme() {
</div>
);
} catch (error) {
console.error("Error importing custom readme component for pack. Additional information follows: \n", error);
setCustomReadme(null);
}
};
Expand Down
7 changes: 4 additions & 3 deletions src/components/Technologies/PackCardIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@ export default function PackCardIcon({ appType, logoUrl, type, className }: Pack
if (appType === "app") {
setIcon(<img src={logoUrl} />);
} else {
setIcon(<Image img={require(`/static/img/packs/${logoUrl}`)} />);
setIcon(<Image img={import(`/static/img/packs/${logoUrl}`)} />);
}
} catch (e) {
type ? setIcon(<IconMapper type={type} />) : setIcon(null);
console.error(e);
type = type ? setIcon(<IconMapper type={type} />) : setIcon(null);
}
} else {
type ? setIcon(<IconMapper type={type} />) : setIcon(null);
type = type ? setIcon(<IconMapper type={type} />) : setIcon(null);
}
}, [logoUrl]);

Expand Down

0 comments on commit f163449

Please sign in to comment.