Store appearance in k/v

This commit is contained in:
Gregory Schier
2023-03-16 11:01:30 -07:00
parent 48e43c3f9f
commit cbe8cf3a05
5 changed files with 40 additions and 24 deletions

View File

@@ -8,7 +8,7 @@ export function keyValueQueryKey({
namespace = DEFAULT_NAMESPACE,
key,
}: {
namespace: string;
namespace?: string;
key: string | string[];
}) {
return ['key_value', { namespace, key: buildKey(key) }];
@@ -19,7 +19,7 @@ export function useKeyValues({
key,
initialValue,
}: {
namespace: string;
namespace?: string;
key: string | string[];
initialValue: string;
}) {