-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: import lib and code format #738
Conversation
- import antd lib - code format by ECMA specification - update README.md
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Modified and added configuration to support pnpm and docker builds. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 8 out of 23 changed files in this pull request and generated 1 suggestion.
Files not reviewed (15)
- docker/mono-ui-dockerfile: Language not supported
- moon/.dockerignore: Language not supported
- moon/.gitignore: Language not supported
- moon/.npmrc: Language not supported
- moon/package.json: Language not supported
- moon/README.md: Evaluated as low risk
- moon/next.config.js: Evaluated as low risk
- moon/src/app/(dashboard)/application-layout.tsx: Evaluated as low risk
- moon/src/app/(dashboard)/blob/[...path]/page.tsx: Evaluated as low risk
- moon/src/app/(dashboard)/issue/[id]/page.tsx: Evaluated as low risk
- moon/src/app/(dashboard)/issue/page.tsx: Evaluated as low risk
- moon/src/app/(dashboard)/mr/[id]/page.tsx: Evaluated as low risk
- moon/src/app/(dashboard)/mr/page.tsx: Evaluated as low risk
- moon/src/app/(dashboard)/page.tsx: Evaluated as low risk
- moon/src/app/(dashboard)/tree/[...path]/page.tsx: Evaluated as low risk
const treeStoreContext = useContext(TreeStoreContext) | ||
|
||
if (!treeStoreContext) { | ||
throw new Error(`useTreeStore must be use within TreeStoreProvider`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The error message should be 'useTreeStore must be used within TreeStoreProvider'.
throw new Error(`useTreeStore must be use within TreeStoreProvider`) | |
throw new Error(`useTreeStore must be used within TreeStoreProvider`) |
Copilot is powered by AI, so mistakes are possible. Review output carefully before use.
ea35ef1
Variables that do not change should be declared using
const
, and declaring variables usingvar
is not recommended. See: https://javascript.info/var