mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-04-19 13:06:22 +00:00
Update to shlink-web-component 0.2
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user