@@ -181,7 +181,9 @@ export const getServerSideProps = async ({ params, res }) => {
181 ? JSON.stringify(Markdown.parse({ post: { content } }))
181 ? JSON.stringify(Markdown.parse({ post: { content } }))
184− const matchedGrants = getGrantsByShortcode(params.application) || null;
184+ const matchedGrants = getGrantsByShortcode(params.application)
185+ .filter((e) => !e.extra.canceled)
186+ .sort((a, b) => new Date(b.date) - new Date(a.date))
186 if (!data.title) {
188 if (!data.title) {