Skip to content

Commit 8b7133f

Browse files
authored
Merge pull request #32 from arch-spatula/chore/react-spinners
Chore/react spinners
2 parents b28fb0b + 1758d28 commit 8b7133f

File tree

13 files changed

+53
-26
lines changed

13 files changed

+53
-26
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"jotai": "^2.1.0",
2020
"react": "^18.2.0",
2121
"react-dom": "^18.2.0",
22-
"react-router-dom": "^6.11.2"
22+
"react-router-dom": "^6.11.2",
23+
"react-spinners": "^0.13.8"
2324
},
2425
"devDependencies": {
2526
"@tanstack/eslint-plugin-query": "^4.29.9",

src/pages/Cards/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ function Cards() {
22
return <div>Cards</div>;
33
}
44

5-
export { Cards };
5+
export default Cards;

src/pages/Deck/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ function Deck() {
22
return <div>Deck</div>;
33
}
44

5-
export { Deck };
5+
export default Deck;

src/pages/Landing/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ function Landing() {
1919
);
2020
}
2121

22-
export { Landing };
22+
export default Landing;

src/pages/NotFound/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ function NotFound() {
22
return <div>Not Found 404</div>;
33
}
44

5-
export { NotFound };
5+
export default NotFound;

src/pages/Setting/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ function Setting() {
22
return <div>Setting</div>;
33
}
44

5-
export { Setting };
5+
export default Setting;

src/pages/SignIn/SignIn.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { SignIn } from '.';
1+
import SignIn from '.';
22
import { render, screen } from '../../libs/test-utils';
33
import { describe, it } from 'vitest';
44

src/pages/SignIn/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,4 @@ function SignIn() {
8787
);
8888
}
8989

90-
export { SignIn };
90+
export default SignIn;

src/pages/SignUp/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ function SignUp() {
22
return <div>Sign Up</div>;
33
}
44

5-
export { SignUp };
5+
export default SignUp;

src/pages/index.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
export * from './Cards';
2-
export * from './Deck';
3-
export * from './NotFound';
4-
export * from './SignIn';
5-
export * from './SignUp';
6-
export * from './Setting';
7-
export * from './Landing';
1+
export { default as Cards } from './Cards';
2+
export { default as Deck } from './Deck';
3+
export { default as NotFound } from './NotFound';
4+
export { default as SignIn } from './SignIn';
5+
export { default as SignUp } from './SignUp';
6+
export { default as Setting } from './Setting';
7+
export { default as Landing } from './Landing';

0 commit comments

Comments
 (0)