Skip to content

Commit 269335a

Browse files
authored
BUG - Namadillo: Fix issue where 0 enabled features returns ALL features (#1373)
* fix: fixes issue where 0 enabled features returns ALL features * fix: bumping
1 parent bb222ef commit 269335a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

apps/namadillo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@namada/namadillo",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "Namadillo",
55
"repository": "https://github.com/anoma/namada-interface/",
66
"author": "Heliax Dev <[email protected]>",

apps/namadillo/src/hooks/useRegistryFeatures.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const fetchEnabledFeatures = async (
5959
features: Feature[];
6060
};
6161

62-
if (!enabledFeatures || enabledFeatures.length === 0) {
62+
if (!enabledFeatures) {
6363
// Enable every feature for non-registry chains
6464
return allFeaturesEnabled;
6565
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "namada",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"private": true,
55
"workspaces": [
66
"apps/namadillo",

0 commit comments

Comments
 (0)