Skip to content

Commit

Permalink
[Fix] Revert Prettier to 2.x, rerun code formatting.
Browse files Browse the repository at this point in the history
Prettier 3.x introduces trailing comma to all function calls which is something I don't want.
  • Loading branch information
ledsoft committed Oct 31, 2024
1 parent 263f529 commit b7247f7
Show file tree
Hide file tree
Showing 24 changed files with 849 additions and 750 deletions.
224 changes: 154 additions & 70 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@
"jest-localstorage-mock": "^2.4.26",
"jest-react-hooks-shallow": "^1.5.1",
"jest-watch-typeahead": "^0.6.5",
"prettier": "3.3.3",
"pretty-quick": "^4.0.0",
"prettier": "2.8.8",
"pretty-quick": "^3.3.1",
"raw.macro": "0.6.2",
"redux-mock-store": "^1.5.4",
"sass": "^1.63.3",
Expand Down
5 changes: 3 additions & 2 deletions src/component/administration/group/UserGroups.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ const UserGroups: React.FC = () => {
const { i18n } = useI18n();
const dispatch: ThunkDispatch = useDispatch();
const [groups, setGroups] = React.useState<UserGroup[]>([]);
const [groupToDelete, setGroupToDelete] =
React.useState<UserGroup | null>(null);
const [groupToDelete, setGroupToDelete] = React.useState<UserGroup | null>(
null
);
React.useEffect(() => {
trackPromise(dispatch(loadUserGroups()), "groups").then((data) =>
setGroups(data)
Expand Down
Loading

0 comments on commit b7247f7

Please sign in to comment.