Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
thewbuk committed Aug 11, 2024
1 parent 92b0677 commit 0803f70
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 3 additions & 3 deletions packages/toolkit/src/view/knowledge/KnowledgeBaseView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@ export const KnowledgeBaseView = (props: KnowledgeBaseViewProps) => {
}
}, [filesData.data]);

const knowledgeBaseLimit = React.useMemo(() =>
getKnowledgeBaseLimit(plan),
[plan]
const knowledgeBaseLimit = React.useMemo(
() => getKnowledgeBaseLimit(plan),
[plan],
);

const handleTabChangeAttempt = (tab: string) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@ import * as z from "zod";

import { Separator, Skeleton } from "@instill-ai/design-system";

import {
InstillStore,
useInstillStore,
useShallow,
} from "../../../../lib";
import { InstillStore, useInstillStore, useShallow } from "../../../../lib";
import {
useCreateKnowledgeBase,
useGetKnowledgeBases,
Expand Down

0 comments on commit 0803f70

Please sign in to comment.