Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NEW] Announcement component #114

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Prev Previous commit
Remove console statemtt
samad-yar-khan committed Apr 11, 2022
commit 1435a0f55c71e80470eac1b1a416ad3060b68cc7
1 change: 0 additions & 1 deletion app/lib/announcement.js
Original file line number Diff line number Diff line change
@@ -4,7 +4,6 @@ import { fetchAPI } from "./api";
export const getAnnouncementData = async (announcement_code) => {
try {
const res = await fetchAPI("/announcements");
console.log(res);
let neededAnnouncement = new Object();
res.forEach((announcement) => {
if (announcement.announcement_code === announcement_code) {