diff --git a/.github/workflows/lint-check.yml b/.github/workflows/lint-check.yml index 5225faa..7058445 100644 --- a/.github/workflows/lint-check.yml +++ b/.github/workflows/lint-check.yml @@ -26,3 +26,13 @@ jobs: run: | npm ci npm run lint-check + admin portal frontend: + name: Admin portal frontend lint and style check + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + - working-directory: admin-portal-frontend # Change this to the name of your frontend directory + run: | + npm ci + npm run lint-check diff --git a/backend/.env.sample b/backend/.env.sample index ee71a39..32a9e6d 100644 --- a/backend/.env.sample +++ b/backend/.env.sample @@ -1,3 +1,3 @@ -PORT=3001 +DEV_PORT=3001 DATABASE_URL=REPLACE_ME NODE_ENV=deployment diff --git a/dfm-sideline-sidekick-app/pages/SearchPage.tsx b/dfm-sideline-sidekick-app/pages/SearchPage.tsx index 613dbc2..a37def9 100644 --- a/dfm-sideline-sidekick-app/pages/SearchPage.tsx +++ b/dfm-sideline-sidekick-app/pages/SearchPage.tsx @@ -70,8 +70,7 @@ const SearchPage: React.FC = ({ const matchedDocuments = searchDocuments(allDocuments, text).map((doc) => ({ ...doc, _id: doc._id ?? "fallback-id", - subtitle: - doc.subtitle ?? "Lorem ipsum dolor sit amet, consectetur adip iscing elit, sed do.", + subtitle: doc.subtitle, })); setFilteredDocuments(matchedDocuments); } else {