A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
TypeScript agent-skillsaidsh-pluginhacktoberfestjavascriptmcp-serverreactresume-builderself-hostedtypescript
add logs to check what's wrong
Amruth Pillai6ee290a625f4
diff --git a/client/pages/[username]/[slug]/index.tsx b/client/pages/[username]/[slug]/index.tsxindex e50b52c36..d7459f8c5 100644--- a/client/pages/[username]/[slug]/index.tsx+++ b/client/pages/[username]/[slug]/index.tsx@@ -39,6 +39,8 @@ export const getServerSideProps: GetServerSideProps<Props> = async ({ query, loctry {const resume = await fetchResumeByIdentifier({ username, slug });+ console.log('Preview~getServerSideProps~resume', resume);+return {props: { username, slug, resume, ...(await serverSideTranslations(locale, ['common'])) },};@@ -61,6 +63,8 @@ const Preview: NextPage<Props> = ({ username, slug, resume: initialData }) => {}, [dispatch, initialData]);useEffect(() => {+ console.log('Preview~useEffect~resume', resume);+const locale = get(resume, 'metadata.locale', 'en');if (!isEmpty(resume) && router.locale !== locale) {