Skip to content

Commit

Permalink
Removing unused code; Adding types/nprogress
Browse files Browse the repository at this point in the history
  • Loading branch information
anarqz committed Jun 9, 2020
1 parent d746f99 commit 417cb0a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"@material-ui/core": "4.10.1",
"@material-ui/icons": "4.9.1",
"@types/js-cookie": "2.2.6",
"@types/ngprogress": "^1.0.28",
"@types/react-intl": "3.0.0",
"@types/react-redux": "7.1.9",
"@types/redux-actions": "2.6.1",
Expand Down
7 changes: 0 additions & 7 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,9 @@ import { Button } from '@material-ui/core';
import ButtonGroup from '@material-ui/core/ButtonGroup';
import TextField from '@material-ui/core/TextField';

import GitHubIcon from '@material-ui/icons/GitHub';

import { injectIntl, FormattedMessage, WrappedComponentProps } from 'react-intl';
import { GHUser } from '../models';
import Layout from './layout';
import { ButtonStyling } from '../components/Button/main.style';

interface Props extends AppStore, WrappedComponentProps {
ghub: {
Expand Down Expand Up @@ -44,10 +41,6 @@ class IndexPage extends React.Component<Props, State> {
onGHFetchUser(this.state.input);
}

xurispa(evt: any) {
console.log(evt.target);
}

setLanguage(lang: String) {
Cookie.set('locale', lang)
window.location.reload(true)
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1380,6 +1380,11 @@
resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.4.tgz#38fd73ddfd9b55abb1e1b2ed578cb55bd7b7d339"
integrity sha512-8+KAKzEvSUdeo+kmqnKrqgeE+LcA0tjYWFY7RPProVYwnqDjukzO+3b6dLD56rYX5TdWejnEOLJYOIeh4CXKuA==

"@types/ngprogress@^1.0.28":
version "1.0.28"
resolved "https://registry.yarnpkg.com/@types/ngprogress/-/ngprogress-1.0.28.tgz#8182ca171a107bad10d78bad3d1e8838de85dabb"
integrity sha1-gYLKFxoQe60Q14utPR6ION6F2rs=

"@types/node@*":
version "14.0.12"
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.0.12.tgz#9c1d8ffb8084e8936603a6122a7649e40e68e04b"
Expand Down

0 comments on commit 417cb0a

Please sign in to comment.