Skip to content
This repository has been archived by the owner on Jul 9, 2019. It is now read-only.

Commit

Permalink
fix SSR for schedules
Browse files Browse the repository at this point in the history
  • Loading branch information
James Baxley committed Dec 6, 2016
1 parent bb0447b commit 4f98f6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imports/pages/give/schedules/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ const SCHEDULED_TRANSACTIONS_QUERY = gql`
`;

const withScheduledTransactions = graphql(SCHEDULED_TRANSACTIONS_QUERY, {
skip: (ownProps) => !ownProps.authorized,
skip: () => !Meteor.userId(),
options: { ssr: false, forceFetch: true },
name: "schedules",
});
Expand Down

0 comments on commit 4f98f6c

Please sign in to comment.