ui/store: infer type from return arg

This commit is contained in:
Johannes Kirschbauer
2025-07-17 10:49:12 +02:00
parent 1d1a2563c3
commit e731322af3

View File

@@ -22,7 +22,7 @@ const [store, setStore] = makePersisted(
* @function
* @returns {string} The URI of the active clan.
*/
const activeClanURI = (): string | undefined => store.activeClanURI;
const activeClanURI = () => store.activeClanURI;
/**
* Updates the active Clan URI in the store.