Skip to content

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!

Fix issue with variable accessor

Amruth Pillai3a7b98d30e2d
diff --git a/client/components/build/Center/Page.tsx b/client/components/build/Center/Page.tsx
index c2467f1b6..bcdcd398d 100644
--- a/client/components/build/Center/Page.tsx
+++ b/client/components/build/Center/Page.tsx
@@ -34,16 +34,16 @@ const Page: React.FC<Props> = ({ page, showPageNumbers = false }) => {
const TemplatePage: React.FC<PageProps> | null = useMemo(() => templateMap[template].component, [template]);
return (
- <div data-page={page + 1} data-format={pageConfig.format || 'A4'} className={styles.container}>
+ <div className={styles.container} data-page={page + 1} data-format={pageConfig?.format || 'A4'}>
<div
className={clsx({
reset: true,
[styles.page]: true,
[styles.break]: breakLine,
+ [styles['format-letter']]: pageConfig?.format === 'Letter',
[css(themeCSS)]: true,
[css(typographyCSS)]: true,
[css(customCSS.value)]: customCSS.visible,
- [styles['format-letter']]: pageConfig?.format === 'Letter',
})}
>
{TemplatePage && <TemplatePage page={page} />}
diff --git a/client/services/auth.ts b/client/services/auth.ts
index d5318a339..20a973844 100644
--- a/client/services/auth.ts
+++ b/client/services/auth.ts
@@ -18,8 +18,8 @@ export type LoginWithGoogleParams = {
export type RegisterParams = {
name: string;
- username: string;
email: string;
+ username: string;
password: string;
};
diff --git a/package.json b/package.json
index 1207ecd19..a4c673700 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "reactive-resume",
- "version": "3.6.8",
+ "version": "3.6.8+1",
"private": true,
"scripts": {
"dev": "env-cmd --silent turbo run dev",
diff --git a/schema/src/metadata.ts b/schema/src/metadata.ts
index 1953c7c23..8ec6a2e30 100644
--- a/schema/src/metadata.ts
+++ b/schema/src/metadata.ts
@@ -9,8 +9,8 @@ export type PageConfig = {
export type ThemeConfig = {
text: string;
- background: string;
primary: string;
+ background: string;
};
export type TypeCategory = 'heading' | 'body';