We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d77ce1a commit 3a5f192Copy full SHA for 3a5f192
src/app/services/icon-registry/icon-registry.service.ts
@@ -7,7 +7,7 @@ export class IconRegistryService {
7
private readonly _http = inject(HttpClient);
8
private readonly cache = new Map<'github' | 'linkedin', Observable<string>>();
9
10
- public load(name: 'github' | 'linkedin'): Observable<string> {
+ load(name: 'github' | 'linkedin'): Observable<string> {
11
if (!this.cache.has(name)) {
12
const request$ = this._http.get(`/icons/${name}-icon.svg`, { responseType: 'text' }).pipe(
13
map((svg) => svg.trim()),
0 commit comments