Skip to content

Commit

Permalink
Remove usage of translation fn from example code
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Turley <[email protected]>
  • Loading branch information
mturley committed Sep 22, 2023
1 parent 4f34a0f commit 452c4d8
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions client/src/app/hooks/table-controls/DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,7 @@ const tableControls = useLocalTableControls({
key: "name",
title: "Name",
type: FilterType.search,
placeholderText:
t("actions.filterBy", {
what: t("terms.name").toLowerCase(),
}) + "...",
placeholderText: "Filter by name...",
getItemValue: (thing) => thing.name || "",
},
],
Expand Down Expand Up @@ -171,10 +168,7 @@ const tableControlState = useTableControlState({
key: "name",
title: "Name",
type: FilterType.search,
placeholderText:
t("actions.filterBy", {
what: t("terms.name").toLowerCase(),
}) + "...",
placeholderText: "Filter by name...",
getItemValue: (thing) => thing.name || "",
},
],
Expand Down

0 comments on commit 452c4d8

Please sign in to comment.