diff --git a/.eslintrc.json b/.eslintrc.json deleted file mode 100644 index 2b1d85ea..00000000 --- a/.eslintrc.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "parser": "@typescript-eslint/parser", - "parserOptions": { - "ecmaVersion": 2020, - "sourceType": "module", - "project": "./tsconfig.json" - }, - "extends": [ - "next/core-web-vitals", - "prettier", - "plugin:deprecation/recommended" - ], - "rules": { - "prettier/prettier": ["error"], - "@typescript-eslint/no-unused-vars": "off", - "unused-imports/no-unused-imports": "error", - "unused-imports/no-unused-vars": [ - "error", - { "vars": "all", "varsIgnorePattern": "^_", "args": "after-used", "argsIgnorePattern": "^_" } - ], - "no-console": ["error", { "allow": ["warn", "error"] }], - "no-restricted-syntax": [ - "error", - "Literal[value=/text-m[\\d]/i]" - ] - }, - "plugins": ["prettier", "unused-imports"], - "ignorePatterns": ["**/__generated__/**/*"] -} \ No newline at end of file diff --git a/package.json b/package.json index 4cecdf00..9a5a684b 100644 --- a/package.json +++ b/package.json @@ -15,13 +15,13 @@ }, "dependencies": { "@heroicons/react": "^2.1.5", - "@mui/base": "5.0.0-beta.60", + "@mui/base": "5.0.0-beta.61", "@next/third-parties": "15.0.2", "@tailwindcss/container-queries": "^0.1.1", - "@types/node": "22.8.2", + "@types/node": "22.8.4", "@types/react": "18.3.12", "@types/react-dom": "19.0.0-rc.1", - "algoliasearch": "^5.11.0", + "algoliasearch": "^5.12.0", "autoprefixer": "^10.4.20", "clsx": "^2.1.1", "decanter": "^7.3.0", diff --git a/src/components/paragraphs/stanford-entity/entity-paragraph.tsx b/src/components/paragraphs/stanford-entity/entity-paragraph.tsx index f24a353d..c46e4f2d 100644 --- a/src/components/paragraphs/stanford-entity/entity-paragraph.tsx +++ b/src/components/paragraphs/stanford-entity/entity-paragraph.tsx @@ -28,7 +28,7 @@ const EntityParagraph = async ({paragraph, ...props}: Props) => { className={twMerge("centered mb-20 flex flex-col gap-10 xl:max-w-[980px]", props.className)} aria-labelledby={EntityWrapper === "section" ? paragraph.id : undefined} > - {behaviors.stanford_teaser?.heading_behavior !== "remove" && ( + {paragraph.suEntityHeadline && behaviors.stanford_teaser?.heading_behavior !== "remove" && (