Skip to content

Commit

Permalink
fix: updare build config to remove errors
Browse files Browse the repository at this point in the history
  • Loading branch information
spaenleh committed Aug 22, 2024
1 parent f981a66 commit 4a0fe62
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/cypress-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:
- name: checkout
uses: actions/checkout@v4

- name: Build
run: yarn build

- name: Component Tests 🧪
uses: cypress-io/github-action@v6
with:
Expand Down
2 changes: 1 addition & 1 deletion src/components/Chatbox/MessageBody.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ type Props = {

const MessageBody = ({ messageBody }: Props): JSX.Element => {
const currentMember = useCurrentMemberContext();
const { members } = useMessagesContext();
const { members = [] } = useMessagesContext();

function code(
props: JSX.IntrinsicElements['code'] & ExtraProps,
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"target": "ES2015",
"target": "ESNext",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"noEmit": false,
Expand Down

0 comments on commit 4a0fe62

Please sign in to comment.