Changed folder structure for scripts
This commit is contained in:
parent
d6b46a5108
commit
407325674c
4 changed files with 2 additions and 2 deletions
|
@ -3,8 +3,8 @@
|
|||
require('./utils.js');
|
||||
|
||||
var React = require('react');
|
||||
var ProjectImagesTypes = require('./components/project-images-types');
|
||||
var ProjectImagesMain = require('./components/project-images-main');
|
||||
var ProjectImagesTypes = require('./components/index/project-images-types');
|
||||
var ProjectImagesMain = require('./components/index/project-images-main');
|
||||
|
||||
if ($('body').hasClass('index')) { // Render components on index
|
||||
React.render(<ProjectImagesTypes />, document.getElementById('project-images-types'));
|
||||
|
|
Reference in a new issue