Skip to content

Commit

Permalink
fix: remove consoles
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-murphy committed Jul 16, 2024
1 parent 38fef3e commit 9aeb023
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion src/components/PublicationsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ export function PublicationsTable() {
]);

React.useEffect(() => {
console.log({ sorting });
const sortingValue = sorting[0];
if (sortingValue !== undefined) {
setOrderBy({
Expand Down
3 changes: 0 additions & 3 deletions src/utils/PublicationsContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ export function PublicationsProvider({ children }: React.PropsWithChildren) {
pageSize: 10,
});

console.log({ pagination, pubsTotal });

const setOrderBy = React.useCallback(
({ field, dir }: PublicationOrderOpts) => {
setOrderByField(field);
Expand Down Expand Up @@ -114,7 +112,6 @@ export function PublicationsProvider({ children }: React.PropsWithChildren) {
}, [filterData]);

React.useEffect(() => {
console.log({ filters: filterData.filters });
return makePubsSnapshot(
setPubs,
setPubsTotal,
Expand Down
2 changes: 1 addition & 1 deletion src/utils/firebase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,11 @@ export const cleanTokenString = (tokenString: string) => {
*/
return tokenString
.toLowerCase()
.replace('-', ' ')
.replace('.', '')
.replace(',', '')
.replace(':', '')
.replace(';', '')
.replace('-', ' ')
.replace("'", '')
.replace('"', '')
.split(' ');
Expand Down

0 comments on commit 9aeb023

Please sign in to comment.