Skip to content

Commit

Permalink
chore(4793): fix build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
junminahn committed Feb 3, 2025
1 parent 5c10d93 commit 0b0923f
Show file tree
Hide file tree
Showing 5 changed files with 80 additions and 83 deletions.
9 changes: 6 additions & 3 deletions app/core/modal.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
import { ScrollArea } from '@mantine/core';
import { ScrollArea, ModalProps } from '@mantine/core';
import { randomId } from '@mantine/hooks';
import { modals } from '@mantine/modals';
import { ModalSettings } from '@mantine/modals/lib/context';
import _isString from 'lodash-es/isString';
import React, { useMemo } from 'react';
import React, { JSX } from 'react';

type ModalSettings = Partial<Omit<ModalProps, 'opened'>> & {
modalId?: string;
};

// Interface for extra props to be passed to the modal component
interface ExtraModalProps {
Expand Down
4 changes: 2 additions & 2 deletions app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@mantine/colors-generator": "^7.11.2",
"@mantine/core": "^7.10.2",
"@mantine/hooks": "^7.10.2",
"@mantine/modals": "^7.9.2",
"@mantine/modals": "^7.16.2",
"@mantine/notifications": "^7.9.2",
"@mantine/tiptap": "^7.10.2",
"@prisma/client": "^6.0.0",
Expand All @@ -58,7 +58,7 @@
"@tiptap/extension-underline": "^2.4.0",
"@tiptap/react": "^2.4.0",
"@tiptap/starter-kit": "^2.4.0",
"@tremor/react": "^3.13.1",
"@tremor/react": "^3.18.7",
"@types/react": "19.0.8",
"@types/react-dom": "19.0.3",
"autoprefixer": "10.4.20",
Expand Down
142 changes: 68 additions & 74 deletions app/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions app/services/ches/helpers.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { render } from '@react-email/render';
import { JSX } from 'react';

export const getContent = (jsx: JSX.Element) => render(jsx, { pretty: false });
Loading

0 comments on commit 0b0923f

Please sign in to comment.