Skip to content

Commit

Permalink
Fixes the typescript error (#61)
Browse files Browse the repository at this point in the history
Fixes the typescript error
  • Loading branch information
Carl-Fredrik Arvidson authored Sep 29, 2023
1 parent 8a48a0b commit 408f025
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'yarn'
node-version-file: ".nvmrc"
cache: "yarn"
- name: Run yarn install
run: yarn install
- name: copy .env-example to .env
run: cp .env-example .env
- name: Run yarn lint
run: yarn lint
- name: Check typescript
run: yarn check-typescript
1 change: 1 addition & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn check-typescript
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"lint": "next lint",
"start": "next start",
"studio": "prisma studio",
"prepare": "husky install",
"install-git-hooks": "husky install",
"detect-circular-imports": "madge --circular src/",
"run-cron": "node ./cron.mjs"
},
Expand Down
2 changes: 1 addition & 1 deletion src/components/WorkflowCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type WorkflowCardProps = {

const WorkflowCard = ({ workflow }: WorkflowCardProps) => {
return (
<RoundedDiv id={String(workflow.id)}>
<RoundedDiv>
<div className="sticky top-0 flex items-center justify-between rounded-t-lg border-b bg-white py-3.5 pl-4 pr-4 text-left text-lg font-medium leading-6 text-gray-900 sm:pl-6">
<div>{workflow.name}</div>
<div className="flex justify-center text-xs">
Expand Down

0 comments on commit 408f025

Please sign in to comment.