diff --git a/src/components/common/ReactionShare.tsx b/src/components/common/ReactionShare.tsx index 5408b39a..cc63b3f4 100644 --- a/src/components/common/ReactionShare.tsx +++ b/src/components/common/ReactionShare.tsx @@ -35,7 +35,7 @@ const shareList = [ ), onClick: (data: ShareData) => { window.open( - `https://twitter.com/intent/tweet?url=${data.url}&text=${data.text}&via=XLog`, + `https://twitter.com/intent/tweet?url=${data.url}&text=${data.text}&via=_xLog`, ) }, }, diff --git a/src/models/home.model.ts b/src/models/home.model.ts index 6804e251..8c51da04 100644 --- a/src/models/home.model.ts +++ b/src/models/home.model.ts @@ -8,7 +8,6 @@ import { ExpandedNote } from "~/lib/types" import { client } from "~/queries/graphql" import filter from "../../data/filter.json" -import titles from "../../data/titles.json" import topics from "../../data/topics.json" export type FeedType = @@ -555,7 +554,7 @@ export async function getFeed({ const result = await client .query( gql` - query getNotes($filter: [Int!], $limit: Int, $whitelist: [Int!]) { + query getNotes($filter: [Int!], $limit: Int) { notes( where: { characterId: { @@ -585,12 +584,6 @@ export async function getFeed({ }, }, }, - # Or in the whitelist - { - characterId: { - in: $whitelist - }, - }, # Or have received comments { fromNotes: { @@ -627,10 +620,6 @@ export async function getFeed({ { filter: filter.latest, limit, - whitelist: titles.reduce((acc, cur) => { - acc = acc.concat(cur.list) - return acc - }, [] as number[]), }, ) .toPromise()