mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-15 09:11:57 +10:00
push a bunch of console.logs
This commit is contained in:
@ -39,8 +39,6 @@ export const getServerSideProps: GetServerSideProps<Props> = async ({ query, loc
|
||||
try {
|
||||
const resume = await fetchResumeByIdentifier({ username, slug });
|
||||
|
||||
console.log('Preview~getServerSideProps~resume', resume);
|
||||
|
||||
return {
|
||||
props: { username, slug, resume, ...(await serverSideTranslations(locale, ['common'])) },
|
||||
};
|
||||
@ -63,8 +61,6 @@ 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) {
|
||||
|
||||
Reference in New Issue
Block a user