Skip to content

Commit

Permalink
fix: Location can be null (#18)
Browse files Browse the repository at this point in the history
* fix: Location can be null

* fix(ci): Add typecheck

* tmp: Test typecheck

* fix: Typecheck after build

* Revert "tmp: Test typecheck"

This reverts commit 2397979.
  • Loading branch information
pettermachado authored Nov 12, 2024
1 parent 32ddbf6 commit 4a7315d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,6 @@ jobs:

- name: Build Server
run: pnpm build:server

- name: Typecheck
run: pnpm typecheck
2 changes: 1 addition & 1 deletion app/components/columns/action.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export const columns: ColumnDef<EventActionRow>[] = [
{
id: "location",
header: "Location",
accessorFn: ({ zone }) => zone?.location.name,
accessorFn: ({ zone }) => zone?.location?.name,
},
{
id: "account",
Expand Down

0 comments on commit 4a7315d

Please sign in to comment.