fix: import lib and code format#738
Merged
Merged
Conversation
- import antd lib - code format by ECMA specification - update README.md
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Contributor
Author
|
Modified and added configuration to support pnpm and docker builds. |
Contributor
There was a problem hiding this comment.
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.
The error message should be 'useTreeStore must be used within TreeStoreProvider'.
Suggested change
| throw new Error(`useTreeStore must be use within TreeStoreProvider`) | |
| throw new Error(`useTreeStore must be used within TreeStoreProvider`) |
genedna
approved these changes
Dec 12, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Variables that do not change should be declared using
const, and declaring variables usingvaris not recommended. See: https://javascript.info/var