Skip to content

Commit

Permalink
✨:: #7 export all exports as default in index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
hyosin-Jang committed Mar 7, 2022
1 parent d58f4cf commit 7a70bee
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 89 deletions.
1 change: 0 additions & 1 deletion src/component/Auth/AuthContent.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from 'react';
import styled from 'styled-components';
import { theme } from '../../style/theme';

Expand Down
37 changes: 0 additions & 37 deletions src/component/Auth/FindButton.tsx

This file was deleted.

47 changes: 0 additions & 47 deletions src/component/Auth/InputWithLabel.tsx

This file was deleted.

3 changes: 2 additions & 1 deletion src/component/Auth/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export { default as AuthContent } from './AuthContent';
export { default as InputWithLabel } from './InputWithLabel';
export { default as LoginButton } from './LoginButton';
export { default as RightAlignedLink } from './RightAlignedLink';
export { default as RegisterButton } from './RegisterButton';
export { default as Register } from './Register';
export { default as Login } from './Login';
2 changes: 1 addition & 1 deletion src/page/Auth/Loginpage.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import Login from '../../component/Auth/Login';
import { Login } from '../../component/Auth/.';
import styled from 'styled-components';

const Loginpage = () => {
Expand Down
3 changes: 1 addition & 2 deletions src/page/Auth/Registerpage.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from 'react';
import Register from '../../component/Auth/Register';
import { Register } from '../../component/Auth/.';
import styled from 'styled-components';

const Registerpage = () => {
Expand Down

0 comments on commit 7a70bee

Please sign in to comment.