]> git.localhorst.tv Git - alttp.git/blobdiff - resources/js/components/rounds/Item.js
SMR seed codes
[alttp.git] / resources / js / components / rounds / Item.js
index 8a4694603eb010ae076f5201f2fa7f315aef3f6c..6eb3d9446809a34d8eac6711f65f5031bc709720 100644 (file)
@@ -49,7 +49,7 @@ const Item = ({
                <p className="seed">
                        {round.code ?
                                <>
-                                       <SeedCode code={round.code} />
+                                       <SeedCode code={round.code} game={round.game || 'alttpr'} />
                                        <br />
                                </>
                        : null}
@@ -78,6 +78,7 @@ Item.propTypes = {
        round: PropTypes.shape({
                code: PropTypes.arrayOf(PropTypes.string),
                created_at: PropTypes.string,
+               game: PropTypes.string,
                locked: PropTypes.bool,
                number: PropTypes.number,
                seed: PropTypes.string,