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

Sync Master into develop #4809

Merged
merged 6 commits into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.prod
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ NEXT_PUBLIC_ALCHEMY_KEY=bOu-fCphi9mvePsxg968Qe-pidHQNdlT
NEXT_PUBLIC_CF_TURNSTILE_SITE_KEY=0x4AAAAAAAKVODkJMwfIxG78
NEXT_PUBLIC_GOOGLE_CLIENT_ID=751677068109-rkml7q9ujf8ems09cclh7qckf14svcgs.apps.googleusercontent.com
NEXT_PUBLIC_TWITTER_CLIENT_ID=cmdKbUlyd1ZZZDZYa3dTampidGo6MTpjaQ
NEXT_PUBLIC_FACEBOOK_CLIENT_ID=687698420193159
NEXT_PUBLIC_FACEBOOK_CLIENT_ID=161556310354354
NEXT_PUBLIC_NOMAD_MATTERS_CAMPAIGN_LINK_EN=/@hi176/476405-a-guide-to-invite
NEXT_PUBLIC_NOMAD_MATTERS_CAMPAIGN_LINK=/@hi176/476404
NEXT_PUBLIC_BILLBOARD_ADDRESS=0x88EA16c2a69f50B9bc2E8f7684D425f33f29225F
Expand Down
7 changes: 6 additions & 1 deletion src/components/MomentDigest/Feed/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,18 @@ export const MomentDigestFeed = ({
})

const goToMomentDetail = () => {
setReferrer()
router.push(momentDetailPath.href)
}

const handleClickDateTime = () => {
const setReferrer = () => {
sessionStorage.set(MOMENT_DIGEST_REFERRER, true)
}

const handleClickDateTime = () => {
setReferrer()
}

const Container = ({
openMomentDetail,
hasAuthor,
Expand Down
3 changes: 0 additions & 3 deletions src/views/Home/Announcements/gql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ import gql from 'graphql-tag'

export const VISIBLE_ANNOUNCEMENTS = gql`
query VisibleAnnouncements($input: AnnouncementsInput!) {
viewer {
id
}
official {
announcements(input: $input) {
id
Expand Down
Loading