Skip to content

Commit

Permalink
Merge pull request #486 from rossneilson/fix/new-pinata
Browse files Browse the repository at this point in the history
fix: Removing test from orbis context
  • Loading branch information
rossneilson authored Jan 4, 2023
2 parents 45c6591 + 31c8bf3 commit 5f5996e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Modules/Guilds/Hooks/useDiscussionContext.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const useDiscussionContext = (customContext: string) => {
// Add prefix to avoid conflicts with other contexts
const prefix = 'projectDaviTest-';
const prefix = 'DAVI-';
const context = `${prefix}${customContext}`;
return { context };
};
Expand Down
2 changes: 1 addition & 1 deletion src/Modules/Guilds/pages/Discussion/Discussion.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const DiscussionPage: React.FC = () => {
const { data: guildConfig } = useGuildConfig(guildId);
const { orbis } = useContext(OrbisContext);
const { context } = useDiscussionContext(
`DAVI-${guildId}-${discussionId}-discussions`
`${guildId}-${discussionId}-discussions`
);

const getPost = async () => {
Expand Down
2 changes: 1 addition & 1 deletion src/Modules/Guilds/pages/Proposal/Proposal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const ProposalPage: React.FC = () => {
const { options } = useProposalCalls(guildId, proposalId);
const { data: guildConfig } = useGuildConfig(guildId);
const { loaded } = useGuildImplementationTypeConfig(guildId);
const { context } = useDiscussionContext(`DAVI-${guildId}-${proposalId}`);
const { context } = useDiscussionContext(`${guildId}-${proposalId}`);

const { data: metadata, error: metadataError } = useProposalMetadata(
guildId,
Expand Down

0 comments on commit 5f5996e

Please sign in to comment.