Fix issue with variable accessor

This commit is contained in:
Amruth Pillai
2022-10-15 23:47:16 +02:00
parent 284a39aa77
commit 3a7b98d30e
4 changed files with 5 additions and 5 deletions

View File

@ -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} />}

View File

@ -18,8 +18,8 @@ export type LoginWithGoogleParams = {
export type RegisterParams = {
name: string;
username: string;
email: string;
username: string;
password: string;
};

View File

@ -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",

View File

@ -9,8 +9,8 @@ export type PageConfig = {
export type ThemeConfig = {
text: string;
background: string;
primary: string;
background: string;
};
export type TypeCategory = 'heading' | 'body';