Make codebase comply to knip --strict (#33893)

* Make codebase comply to `knip --strict`

Deletes a few bits of dead code

* Trim i18n strings

* Fix missing export

* Remove test of dead code
This commit is contained in:
Michael Telatynski
2026-06-18 10:35:47 +01:00
committed by GitHub
parent 5de654636a
commit 7a1a3f518c
31 changed files with 64 additions and 1859 deletions
+3 -1
View File
@@ -17,7 +17,9 @@ const getValue = <T>(key: string, initialValue: T): T => {
}
};
// Hook behaving like useState but persisting the value to localStorage. Returns same as useState
/**
* Hook behaving like useState but persisting the value to localStorage. Returns same as useState
*/
export const useLocalStorageState = <T>(key: string, initialValue: T): [T, Dispatch<T>] => {
const lsKey = "mx_" + key;