mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-01-30 11:45:48 +00:00
fix lint
This commit is contained in:
parent
b4f85925d6
commit
4cb1f33ac9
@ -37,8 +37,7 @@ export default function DataStoreListTiles({
|
||||
);
|
||||
|
||||
useEffect(() => {
|
||||
if (permissionsLoaded) {
|
||||
if (ability.can('GET', targetUris.dataStoreListPath)) {
|
||||
if (permissionsLoaded && ability.can('GET', targetUris.dataStoreListPath)) {
|
||||
if (defaultDataStores) {
|
||||
setDataStores(defaultDataStores);
|
||||
} else {
|
||||
@ -52,7 +51,6 @@ export default function DataStoreListTiles({
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
}, [
|
||||
searchParams,
|
||||
dataStore,
|
||||
|
Loading…
x
Reference in New Issue
Block a user