Skip to content

Commit

Permalink
nothin
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanflorence committed Jan 10, 2024
1 parent 8075092 commit 34a3fae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/routes/board.$id/board.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export function Board() {
let { board } = useLoaderData<typeof loader>();

let itemsById = new Map(board.items.map((item) => [item.id, item]));

let pendingItems = usePendingItems();

// merge pending items and existing items
Expand Down Expand Up @@ -116,7 +117,7 @@ function usePendingColumns() {
// These are the inflight items that are being created or moved, instead of
// managing state ourselves, we just ask Remix for the state
function usePendingItems() {
type PendingItem = ReturnType<typeof useFetchers>[0] & {
type PendingItem = ReturnType<typeof useFetchers>[number] & {
formData: FormData;
};
return useFetchers()
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"start": "NODE_ENV=production remix-serve ./build/server/index.js",
"migrate": "npx prisma migrate dev",
"typecheck": "tsc",
"deploy": "fly deploy"
"deploy": "rm -rf build && rm -rf public/build && fly deploy"
},
"dependencies": {
"@prisma/client": "^5.3.1",
Expand Down

0 comments on commit 34a3fae

Please sign in to comment.