Skip to content

Commit

Permalink
adjust BE linter & test FE linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Shushunya committed Oct 12, 2023
1 parent c140c16 commit 2a359dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/black.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Lint

on: pull_request
on:
pull_request:
paths:
- '**.py'


jobs:
Expand Down
1 change: 1 addition & 0 deletions FrontEnd/src/components/profileList/ProfileListPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export default function ProfileListPage({ isAuthorized }) {
useEffect(() => {
setProfileFilter(FILTER_MAP[filter]);
setFilterSaved(false);
setCurrentPage(1);
}, [filter]);

const urlForAll = `${process.env.REACT_APP_BASE_API_URL}/api/profiles/?${profileFilter}&page=${currentPage}`;
Expand Down

0 comments on commit 2a359dd

Please sign in to comment.