Skip to content

Commit

Permalink
feat: add support for premodern
Browse files Browse the repository at this point in the history
  • Loading branch information
ldeluigi committed Nov 7, 2024
1 parent 813981d commit a303c5f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@fortawesome/fontawesome-svg-core": "^6.5.1",
"@fortawesome/free-solid-svg-icons": "^6.5.1",
"@fortawesome/react-fontawesome": "^0.2.0",
"@spacecowmedia/spellbook-client": "^3.11.2",
"@spacecowmedia/spellbook-client": "^3.12.0",
"canvas": "^2.11.2",
"debounce": "^1.2.1",
"markdown-to-jsx": "^7.3.2",
Expand Down
4 changes: 4 additions & 0 deletions src/pages/combo/[id]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,10 @@ const Combo: React.FC<Props> = ({ combo, alternatives, previewImageUrl }) => {
<td>{booleanToIcon(combo.legalities.modern)}</td>
<td>Modern</td>
</tr>
<tr>
<td>{booleanToIcon(combo.legalities.premodern)}</td>
<td>Premodern</td>
</tr>
<tr>
<td>{booleanToIcon(combo.legalities.pauper)}</td>
<td>Pauper</td>
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -802,10 +802,10 @@
resolved "https://registry.yarnpkg.com/@sideway/pinpoint/-/pinpoint-2.0.0.tgz#cff8ffadc372ad29fd3f78277aeb29e632cc70df"
integrity sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==

"@spacecowmedia/spellbook-client@^3.11.2":
version "3.11.2"
resolved "https://npm.pkg.github.com/download/@spacecowmedia/spellbook-client/3.11.2/6e671d19e2d998b4783c69f2c7715314064a4b11#6e671d19e2d998b4783c69f2c7715314064a4b11"
integrity sha512-epZ8runvxxDHOaQgXR1UyC3sNlTYgaG4GlrbefnIdh+81J5H/0CogCx1MsJ3cf++Om06Y/xLFdgQMZR8Oo6FCQ==
"@spacecowmedia/spellbook-client@^3.12.0":
version "3.12.0"
resolved "https://npm.pkg.github.com/download/@spacecowmedia/spellbook-client/3.12.0/eed2cefbd4997b6a151cd9addbd15e8d3d37fdc7#eed2cefbd4997b6a151cd9addbd15e8d3d37fdc7"
integrity sha512-Zo56hoaYvJgKMBjOjoXvNdtlzSe2SwoWGSQqK+5Hm3A91HoSbMCjcoxDHpBJAP5d83qBbmoP3ZnG3PDu067Pkw==

"@swc/counter@^0.1.3":
version "0.1.3"
Expand Down

0 comments on commit a303c5f

Please sign in to comment.