Skip to content

Commit

Permalink
Merge branch 'pagination-bug' of https://github.com/azheng1991/maple
Browse files Browse the repository at this point in the history
…into pagination-bug
  • Loading branch information
mertbagt committed Dec 7, 2023
2 parents af36128 + e59a159 commit f0dfec0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/TestimonyCard/ViewTestimony.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useState, useEffect } from 'react';
import { NoResults } from "components/search/NoResults";
import { PaginationButtons } from "components/table";
import { useTranslation } from "next-i18next";
import { TFunction, useTranslation } from "next-i18next";
import { Card as BootstrapCard, Col, Row } from "react-bootstrap";
import styled from "styled-components";
import { Card as MapleCard } from "../Card";
Expand Down Expand Up @@ -64,9 +64,9 @@ const ViewTestimony = (props: UsePublishedTestimonyListing & {
};

const handleFilter = (filter: string | undefined) => {
setFilter({ authorRole: filter });
setFilter({ authorRole: filter ?? '' });
};

const tabs = [
<Tab
key="at"
Expand Down

0 comments on commit f0dfec0

Please sign in to comment.