mirror of
https://github.com/HangarMC/Hangar.git
synced 2024-11-21 01:21:54 +08:00
chore: lint
This commit is contained in:
parent
ff6dd7c8fc
commit
5834e94286
@ -123,7 +123,7 @@ export function useData<T, P extends Record<string, unknown> | string>(
|
||||
// load initial state
|
||||
data.value = state.value[key(params())];
|
||||
// if we have no state, queue a load
|
||||
if (data.value == undefined) {
|
||||
if (data.value === undefined) {
|
||||
promise = load(params());
|
||||
|
||||
// if on server (and we dont wanna skip server fetching, we need await the promise onServerPrefetch)
|
||||
|
Loading…
Reference in New Issue
Block a user