diff --git a/package.json b/package.json index 72c8e91de..0be264236 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "@hookform/resolvers": "^3.1.1", "@lexical/react": "^0.7.5", "@math.gl/web-mercator": "3.6.2", - "@openbeta/sandbag": "^0.0.48", + "@openbeta/sandbag": "^0.0.51", "@radix-ui/react-alert-dialog": "^1.0.0", "@radix-ui/react-dialog": "^1.0.0", "@radix-ui/react-dropdown-menu": "^2.0.1", diff --git a/src/js/grades/Grade.ts b/src/js/grades/Grade.ts index 05c8802a1..5243fca5b 100644 --- a/src/js/grades/Grade.ts +++ b/src/js/grades/Grade.ts @@ -47,6 +47,18 @@ const gradeContextToGradeScales = { aid: GradeScales.FRENCH, snow: GradeScales.FRENCH, // is this the same as alpine? ice: GradeScales.FRENCH // is this the same as alpine? + }, + BR: { + trad: GradeScales.BRAZILIAN_CRUX, + sport: GradeScales.BRAZILIAN_CRUX, + bouldering: GradeScales.VSCALE, + tr: GradeScales.BRAZILIAN_CRUX, + deepwatersolo: GradeScales.BRAZILIAN_CRUX, + alpine: GradeScales.BRAZILIAN_CRUX, + mixed: GradeScales.BRAZILIAN_CRUX, + aid: GradeScales.AID, + ice: GradeScales.WI, + snow: GradeScales.WI } } diff --git a/yarn.lock b/yarn.lock index e34753aaa..b9e557eec 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1805,10 +1805,10 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" -"@openbeta/sandbag@^0.0.48": - version "0.0.48" - resolved "https://registry.yarnpkg.com/@openbeta/sandbag/-/sandbag-0.0.48.tgz#d876ae47634c287be1f71858576a9f826f8ee270" - integrity sha512-QyTGG9Y+c+2TY+EbdUByAAr1u7qyqZ4H1ZM0TztetJU/a7TLjdMoR32yaRY8uSFvm3f1sP0zn0ffhlLiICDdlg== +"@openbeta/sandbag@^0.0.51": + version "0.0.51" + resolved "https://registry.yarnpkg.com/@openbeta/sandbag/-/sandbag-0.0.51.tgz#21ce618d2414dc0b8d4f31ef260ac2ebad5a43c8" + integrity sha512-qMVohgqRdFjXH8a3aSEZa6zemwSpak/HMttR/pqvclDIXqgPKzWvjFRA3o/YDGieI/19P4dtizLo91TKx0smGQ== "@panva/hkdf@^1.0.2": version "1.1.1"