Skip to content

Commit

Permalink
Changed port to 3010, removed console.logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Hardik-hi committed Jul 13, 2022
1 parent 3bb753c commit fdcd8e4
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion packages/announcements/craco.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const ExternalTemplateRemotesPlugin = require("external-remotes-plugin");

module.exports = {
devServer: {
port: 4002,
port: 3010,
},
webpack: {
plugins: [new ExternalTemplateRemotesPlugin()],
Expand Down
1 change: 0 additions & 1 deletion packages/announcements/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ function App() {
routes={routes}
AuthComponent={LoginComponent}
isShowPinnedAnnouncements={true}
isShowFooterLink={true}
/>
);
}
Expand Down
4 changes: 0 additions & 4 deletions packages/announcements/src/pages/Announcements.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ const Announcements = ({ footerLinks, appName, pinnedAnnouncementsData }) => {
setFilterData(f);
}
};
console.log(pinnedAnnouncementsData);
return (
<Layout
_header={{
Expand Down Expand Up @@ -247,7 +246,6 @@ const Announcements = ({ footerLinks, appName, pinnedAnnouncementsData }) => {
...selectedAnnouncement,
...announcement,
}));
console.log(selectedAnnouncement);
}}
showMoreAnnouncements={showMoreAnnouncements}
/>
Expand Down Expand Up @@ -322,7 +320,6 @@ const Announcements = ({ footerLinks, appName, pinnedAnnouncementsData }) => {
}
onChange={(e) => {
modifyFilter(showFilterModal, value, e);
console.log(e);
}}
>
{value}
Expand All @@ -335,7 +332,6 @@ const Announcements = ({ footerLinks, appName, pinnedAnnouncementsData }) => {
_text={{ color: "white" }}
onPress={(e) => {
setShowFilterModal(-1);
console.log(filterData);
}}
>
{t("CONTINUE")}
Expand Down
2 changes: 0 additions & 2 deletions packages/common-lib/src/components/AppShell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ function AppShell({

//TODO: integrate with API call to fetch pinned announcements
//pinned announcements data is common to all components depending on their
console.log(isShowPinnedAnnouncements, isShowFooterLink)
const pinnedAnnouncementsData = !isShowPinnedAnnouncements
? []
: [
Expand All @@ -74,7 +73,6 @@ function AppShell({
isDismissable: false
}
]
console.log(pinnedAnnouncementsData)
useEffect(() => {
const subscription = eventBus.subscribe('AUTH', (data, envelop) => {
if ((data.eventType = 'LOGIN_SUCCESS')) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ export default function PinnedAnnouncements({ _pinnedAnnouncementsData }: any) {
() => pinnedAnnouncementsList,
[pinnedAnnouncementsList]
)
console.log(_pinnedAnnouncementsData)
return (
<Box>
<VStack space='2'>
Expand Down

0 comments on commit fdcd8e4

Please sign in to comment.