Skip to content

Commit 2db7d3d

Browse files
author
Jovert Lota Palonpon
authored
wip (#54)
1 parent ffbc1f1 commit 2db7d3d

File tree

20 files changed

+27
-27
lines changed

20 files changed

+27
-27
lines changed

resources/js/core/Navigator.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import React, { useContext } from 'react';
22
import { withRouter, Route, Switch, Redirect } from 'react-router-dom';
33

4-
import * as NavigationUtils from '../utils/Navigation';
5-
import * as UrlUtils from '../utils/URL';
4+
import * as NavigationUtils from '../helpers/Navigation';
5+
import * as UrlUtils from '../helpers/URL';
66
import { AppContext } from '../AppContext';
77

88
const Navigator = props => {

resources/js/utils/Navigation.js renamed to resources/js/helpers/Navigation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { ROUTES } from '../config';
2-
import * as UrlUtils from '../utils/URL';
2+
import * as UrlUtils from '../helpers/URL';
33

44
/**
55
* Find the route by its name.

resources/js/utils/Random.js renamed to resources/js/helpers/Random.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* @return {string}
77
*/
8-
export const color = key => {
8+
export function color(key) {
99
const colors = [
1010
'red',
1111
'pink',
@@ -29,4 +29,4 @@ export const color = key => {
2929
];
3030

3131
return colors[key > colors.length - 1 ? 2 : key];
32-
};
32+
}
File renamed without changes.
File renamed without changes.
File renamed without changes.

resources/js/index.backoffice.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import './bootstrap';
33
import React from 'react';
44
import ReactDOM from 'react-dom';
55

6-
import { register as registerServiceWorker } from './utils/ServiceWorker';
6+
import { register as registerServiceWorker } from './helpers/ServiceWorker';
77
import App from './App';
88
import { dark as darkTheme, light as lightTheme } from './themes/backoffice';
99

resources/js/ui/Breadcrumbs.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import { Breadcrumbs as MuiBreadcrumbs } from '@material-ui/lab';
88

99
import { Home as HomeIcon } from '@material-ui/icons';
1010

11-
import * as NavigationUtils from '../utils/Navigation';
12-
import * as StringUtils from '../utils/String';
11+
import * as NavigationUtils from '../helpers/Navigation';
12+
import * as StringUtils from '../helpers/String';
1313

1414
function Breadcrumbs(props) {
1515
const { classes, segments, blacklistedSegments, ...other } = props;

resources/js/ui/Dropzone.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import {
2020
Queue as QueueIcon,
2121
} from '@material-ui/icons';
2222

23-
import * as StringUtils from '../utils/String';
23+
import * as StringUtils from '../helpers/String';
2424
import { LinearDeterminate } from './Loaders';
2525

2626
const getFileStatusClass = status => {

0 commit comments

Comments
 (0)