Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
retypos-webclient
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eterfund
retypos-webclient
Commits
9993233e
You need to sign in or sign up before continuing.
Commit
9993233e
authored
Jul 06, 2018
by
Jorgen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix error with react-bootstrap imports
parent
185c39f9
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
9 deletions
+6
-9
index.js
src/App/index.js
+4
-1
index.js
src/LangSwitcher/index.js
+1
-1
index.js
src/Modal/index.js
+1
-7
No files found.
src/App/index.js
View file @
9993233e
...
...
@@ -91,11 +91,14 @@ class App extends Component {
isTimeout
:
true
,
});
window
.
setTimeout
(()
=>
{
this
.
requestTimer
=
window
.
setTimeout
(()
=>
{
this
.
setState
({
isTimeout
:
false
});
},
config
.
requestTimeout
);
}
componentWillUnmount
()
{
window
.
clearTimeout
(
this
.
requestTimeout
);
}
}
export
default
App
;
src/LangSwitcher/index.js
View file @
9993233e
import
React
,
{
Component
}
from
'react'
;
import
Thumbnail
from
'react-bootstrap/lib
'
;
import
{
Thumbnail
}
from
'react-bootstrap
'
;
import
countryImages
from
'./images'
;
...
...
src/Modal/index.js
View file @
9993233e
import
React
,
{
Component
}
from
'react'
;
import
Modal
from
'react-bootstrap/lib'
;
import
Button
from
'react-bootstrap/lib'
;
import
FormGroup
from
'react-bootstrap/lib'
;
import
FormControl
from
'react-bootstrap/lib'
;
import
ControlLabel
from
'react-bootstrap/lib'
;
import
HelpBlock
from
'react-bootstrap/lib'
;
import
Alert
from
'react-bootstrap/lib'
;
import
{
Modal
,
Button
,
FormGroup
,
FormControl
,
ControlLabel
,
HelpBlock
,
Alert
}
from
'react-bootstrap'
;
import
$
from
'jquery'
;
import
'./Modal.css'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment