-
Notifications
You must be signed in to change notification settings - Fork 456
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(react-16): migrate to new react version (#604)
* chore: refactor to functional components * chore: update react-markdown * chore: move to useState and remove preload component * chore(settings-plugin): refactor to functional component * chore: refactor ResultsList component * fix: running action typo * chore: update deps * chore: add CSP * chore: refactor Cerebro to functional component * refactor: migrate settings to funtional component * refactor: migrate main input to react 16 * fix: remove div not needed * fix: remove valores dentro do array * refactor: remove main component * fix: on change not parse value * chore: add readonly to remove warning * chore: refactor themes file * fix: react-select value as object * fix: unsuscribe error in functional component * fix: react-virtualized error * fix: settings refactor * docs: update docs Co-authored-by: oguhpereira <[email protected]>
- Loading branch information
1 parent
c31f0b0
commit 1a1240b
Showing
25 changed files
with
1,720 additions
and
1,821 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
const prefix = process.env.NODE_ENV === 'development' ? 'http://localhost:3000/' : '../' | ||
|
||
const themes = [ | ||
{ | ||
value: `${prefix}dist/main/css/themes/light.css`, | ||
label: 'Light' | ||
}, | ||
{ | ||
value: `${prefix}dist/main/css/themes/dark.css`, | ||
label: 'Dark' | ||
} | ||
] | ||
|
||
export default themes |
Oops, something went wrong.