Skip to content

Commit

Permalink
Merge pull request #36 from ReCoded-Org/33-implement-auth
Browse files Browse the repository at this point in the history
Fix: fix api links
  • Loading branch information
androidmini9x authored May 5, 2022
2 parents 0bd193c + 307ebd4 commit 9d3aa58
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/components/Footer/Footer.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ import SubscriptionForm from './SubscriptionForm';

describe('<Footer />', () => {
test('Subscription field', () => {
render(<Footer />);
render(
<BrowserRouter>
<Footer />
</BrowserRouter>,
);

const subElement = screen.getByTestId('subscription');
expect(subElement).toBeInTheDocument();
Expand Down
1 change: 0 additions & 1 deletion src/pages/Donated/ItemCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ function ItemCard({ data, onResponse }) {
function openModal() {
setIsOpen(true);
}

function closeModal() {
setIsOpen(false);
}
Expand Down

0 comments on commit 9d3aa58

Please sign in to comment.