Skip to content

Commit

Permalink
chore: Fix imports after move apps
Browse files Browse the repository at this point in the history
  • Loading branch information
aXenDeveloper committed Jun 19, 2024
1 parent 82be0bb commit f8e55cb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 16 deletions.
3 changes: 1 addition & 2 deletions apps/frontend/components/calendar-picker.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import { CalendarIcon } from "lucide-react";
import { SelectRangeEventHandler } from "react-day-picker";
import { format } from "date-fns";
import { cn } from "@vitnode/frontend/helpers";

import { Button } from "./ui/button";
import { Popover, PopoverContent, PopoverTrigger } from "./ui/popover";
import { Calendar } from "./ui/calendar";

import { cn } from "../../packages/frontend/src/helpers/classnames";

interface Props {
onSelect?: SelectRangeEventHandler;
selected?: {
Expand Down
7 changes: 1 addition & 6 deletions apps/frontend/plugins/core/hooks/drag&drop/use-functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,10 @@ import {
} from "@dnd-kit/core";
import * as React from "react";
import { arrayMove } from "@dnd-kit/sortable";
import { FlatTree, WithChildren, flattenTree } from "@vitnode/frontend/helpers";

import { useProjection } from "./use-projection";

import {
FlatTree,
WithChildren,
flattenTree
} from "../../../../../packages/frontend/src/helpers/flatten-tree";

function removeChildrenOf<T extends object>({
ids,
tree
Expand Down
9 changes: 1 addition & 8 deletions apps/frontend/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,6 @@
"module": "commonjs"
}
},
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
"../packages/frontend/src/helpers/classnames.ts",
"../packages/frontend/src/helpers/flatten-tree.ts"
],
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["postcss.config.js"]
}

0 comments on commit f8e55cb

Please sign in to comment.