Skip to content

Commit

Permalink
Merge pull request #543 from xmtp/fix-repo-carousel
Browse files Browse the repository at this point in the history
fix repo carousel
  • Loading branch information
jhaaaa authored Aug 18, 2023
2 parents e5b2355 + ccc5932 commit 9006c67
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/components/MainContent/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import {
XMTP_IOS_URL,
XMTP_FLUTTER_URL,
XMTP_WEB_URL,
QUICKSTART_CHAT_URL,
CHAT_ITEM,
} from "../../helpers/constants";
import { BlogItem } from "../BlogItem";
Expand Down Expand Up @@ -61,11 +60,6 @@ export const MainContent = ({ styles }) => {
Authorization: customFields.personalToken,
},
});
const responseQuickChat = await fetch(QUICKSTART_CHAT_URL, {
headers: {
Authorization: customFields.personalToken,
},
});

const dataXmtp = await responseXmtp.json();
if (dataXmtp && !dataXmtp.message) items = [...items, dataXmtp];
Expand All @@ -79,9 +73,6 @@ export const MainContent = ({ styles }) => {
if (dataWeb && !dataWeb.message) items = [...items, dataWeb];
const dataNotif = await responseNotif.json();
if (dataNotif && !dataNotif.message) items = [...items, dataNotif];
const dataQuickChat = await responseQuickChat.json();
if (dataQuickChat && !dataQuickChat.message)
items = [...items, dataQuickChat];

items = [...items, CHAT_ITEM];
setSliderItems(items);
Expand Down

1 comment on commit 9006c67

@vercel
Copy link

@vercel vercel bot commented on 9006c67 Aug 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.