-
Notifications
You must be signed in to change notification settings - Fork 1
adding vsix extension and cleanup code #11
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
base: master
Are you sure you want to change the base?
adding vsix extension and cleanup code #11
Conversation
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.
This app becomes pretty :)
Excellent job!
|
||
export interface IExtension { |
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.
export interface IExtension { | |
export interface IExtension { |
Or, in generally, run prettier :)
const Stat: React.FC<IProps> = ({ match, history }) => { | ||
const classes = useStyles(); | ||
const [isLoading, setIsLoading] = React.useState(false); | ||
const [releases, setReleases] = React.useState([]); | ||
const [chartOption, setChartOption] = React.useState(default_options); | ||
const [model, setModel] = React.useState({ |
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.
In the next version, try to set its type (to avoid any
s later)
...prevStat, | ||
loading: true, | ||
})); | ||
fetch(`https://api.github.com/repos/${user}/${repo}/releases`) |
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.
Consider converting it to async / await
No description provided.