Skip to content

Commit ac9582d

Browse files
author
신용준
committed
refactor
1 parent 6c7ee31 commit ac9582d

File tree

9 files changed

+8
-8
lines changed

9 files changed

+8
-8
lines changed

package/src/components/Controller.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import * as React from 'react';
44
import { useMemo } from 'react';
5-
import { NAME_SPACE } from './constants/core';
5+
import { NAME_SPACE } from '../constants/core';
66
import {
77
setCenturyPage,
88
setDecadePage,

package/src/components/Container.tsx renamed to package/src/components/Datepicker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {
1111
setMonthPage,
1212
} from '../utils/page';
1313
import ViewCentury from './view/Century';
14-
import { NAME_SPACE } from './constants/core';
14+
import { NAME_SPACE } from '../constants/core';
1515
import Controller from './Controller';
1616
import ViewDecade from './view/Decade';
1717
import ViewYear from './view/Year';

package/src/components/view/Century.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use client';
22

33
import * as React from 'react';
4-
import { NAME_SPACE } from '../constants/core';
4+
import { NAME_SPACE } from '../../constants/core';
55

66
interface IProps {
77
value: Date | null;

package/src/components/view/Decade.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use client';
22

33
import * as React from 'react';
4-
import { NAME_SPACE } from '../constants/core';
4+
import { NAME_SPACE } from '../../constants/core';
55

66
interface IProps {
77
value: Date | null;

package/src/components/view/Month.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use client';
22

33
import * as React from 'react';
4-
import { NAME_SPACE } from '../constants/core';
4+
import { NAME_SPACE } from '../../constants/core';
55
import { formatDate } from '../../utils/datetime';
66

77
interface Iprops {

package/src/components/view/Year.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use client';
22

33
import * as React from 'react';
4-
import { NAME_SPACE } from '../constants/core';
4+
import { NAME_SPACE } from '../../constants/core';
55
import { addLeadingZero } from '../../utils/string';
66

77
interface Iprops {

package/src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export { default as Datepicker } from './components/Container';
1+
export { default as Datepicker } from './components/Datepicker';

test/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"typescript": "^5.2.2"
1515
},
1616
"scripts": {
17-
"start": "react-scripts start",
17+
"start": "set PORT=3002 && react-scripts start",
1818
"build": "react-scripts build",
1919
"test": "react-scripts test",
2020
"eject": "react-scripts eject"

0 commit comments

Comments
 (0)