mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
feat: install prettier to format code and add react-dev-inspector to locate code in the IDE faster (#44)
* feat: add react-dev-inspector to locate code in the IDE faster * feat: install prettier to format code --------- Co-authored-by: yangqianjuan <1072483500@qq.com>
This commit is contained in:
6
web/src/app.tsx
Normal file
6
web/src/app.tsx
Normal file
@ -0,0 +1,6 @@
|
||||
import React, { ReactNode } from "react";
|
||||
import { Inspector } from "react-dev-inspector";
|
||||
|
||||
export function rootContainer(container: ReactNode) {
|
||||
return React.createElement(Inspector, null, container);
|
||||
}
|
||||
Reference in New Issue
Block a user