Update to shlink-web-component 0.2

This commit is contained in:
Alejandro Celaya
2023-08-17 19:31:36 +02:00
parent 6b73fe336b
commit e81588616e
3 changed files with 8 additions and 9 deletions

View File

@@ -6,7 +6,6 @@ export class LocalStorage {
public readonly get = <T>(key: string): T | undefined => {
const item = this.localStorage.getItem(buildPath(key));
return item ? JSON.parse(item) as T : undefined;
};