Skip to content

Commit 8e6c1de

Browse files
authored
Merge pull request #327 from SFTtech/milo/minor-fixes
minor fixes
2 parents ae59505 + afbeae5 commit 8e6c1de

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

apps/web/src/pages/groups/settings/GroupMemberList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export const GroupMemberList: React.FC<GroupMemberListProps> = ({ group }) => {
116116
{
117117
selectFromResult: ({ data, ...rest }) => ({
118118
...rest,
119-
data: data ? data.sort((a, b) => a.username.localeCompare(b.username)) : undefined,
119+
data: data ? [...data].sort((a, b) => a.username.localeCompare(b.username)) : undefined,
120120
}),
121121
}
122122
);

apps/web/src/pages/transactions/TransactionList/TransactionList.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {
1515
useSortedTransactions,
1616
} from "@abrechnung/redux";
1717
import { Transaction } from "@abrechnung/types";
18-
import { Add, Clear, SaveAlt } from "@mui/icons-material";
18+
import { Clear, SaveAlt } from "@mui/icons-material";
1919
import SearchIcon from "@mui/icons-material/Search";
2020
import {
2121
Alert,
@@ -160,9 +160,6 @@ const TransactionListActions: React.FC<TransactionListActionsProps> = ({
160160
</Tooltip>
161161
{isGroupWritable && (
162162
<>
163-
<div style={{ padding: "8px" }}>
164-
<Add color="primary" />
165-
</div>
166163
<Tooltip title={t("transactions.createPurchase")}>
167164
<IconButton color="primary" onClick={handleClickCreatePurchase}>
168165
<PurchaseIcon />

0 commit comments

Comments
 (0)