Skip to content

Commit

Permalink
fix build, referncing future version of polkadot-api
Browse files Browse the repository at this point in the history
  • Loading branch information
voliva committed May 1, 2024
1 parent 3711817 commit 12f6e34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CommonTypes/typeReferences.state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export const typeReferences$ = state(
function getEnumInputs(entry: EnumVar["value"][string]): LookupEntry[] {
switch (entry.type) {
case "lookupEntry":
case "array":
// case "array": <- for next version of papi
return [entry.value]
case "struct":
return Object.values(entry.value)
Expand Down

0 comments on commit 12f6e34

Please sign in to comment.