Skip to content

Commit

Permalink
Fix 'unknown' compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
zedeus committed Nov 27, 2022
1 parent da4d6ea commit 9bae009
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/experimental/parser/unifiedcard.nim
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ proc parseUnifiedCard*(json: string): Card =
component.parseMedia(card, result)
of buttonGroup:
discard
of unknown:
of ComponentType.unknown:
echo "ERROR: Unknown component type: ", json

case component.kind
Expand Down

0 comments on commit 9bae009

Please sign in to comment.