Skip to content

Commit

Permalink
Merge branch 'main' into feature/#32
Browse files Browse the repository at this point in the history
  • Loading branch information
00kang authored Sep 7, 2022
2 parents 4d468c9 + 2b09841 commit a2584cb
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 1 deletion.
1 change: 1 addition & 0 deletions front/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"react-dom": "^18.2.0",
"react-redux": "^8.0.2",
"react-router-dom": "^6.3.0",
"recoil": "^0.7.5",
"redux": "^4.2.0",
"redux-actions": "^2.6.5",
"redux-devtools-extension": "^2.13.9"
Expand Down
8 changes: 8 additions & 0 deletions front/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ import CreateEditArticle from './components/CreateEditArticle';
import Profile from './components/Profile';
import Settings from './components/Settings';

import {
RecoilRoot,
atom,
selector,
useRecoilState,
useRecoilValue,
} from 'recoil';

function App() {
return (
<RecoilRoot>
Expand Down
1 change: 1 addition & 0 deletions front/src/atoms/user.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ export const updateUserState = atom({
export const updateUserRequestState = atom({
key: 'src/atoms/User.jsx-updateUserRequestState',
default: {},

});
7 changes: 7 additions & 0 deletions front/src/components/Article.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
import React from 'react';
import ReactDOM from 'react-dom';

const getNumber = () => {
return 10;
};

const a = getNumber();

const Article = () => {
return (
Expand Down
10 changes: 9 additions & 1 deletion front/src/components/Signin.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const Signin = () => {
}
}, [isLoggedIn]);


return (
<div>
<div className="auth-page">
Expand Down Expand Up @@ -44,6 +45,7 @@ const Signin = () => {
}}
>
<fieldset className="form-group">

<input
className="form-control form-control-lg"
type="text"
Expand All @@ -59,7 +61,13 @@ const Signin = () => {
onChange={(e) => setPassword(e.target.value)}
/>
</fieldset>
<button className="btn btn-lg btn-primary pull-xs-right">

<button
type="button"
class="btn btn-lg btn-primary pull-xs-right"
onClick={onClickSubmitHandler}
>

Sign In
</button>
</form>
Expand Down
12 changes: 12 additions & 0 deletions front/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -678,6 +678,11 @@ globals@^11.1.0:
resolved "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz"
integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==

[email protected]:
version "1.0.2"
resolved "https://registry.yarnpkg.com/hamt_plus/-/hamt_plus-1.0.2.tgz#e21c252968c7e33b20f6a1b094cd85787a265601"
integrity sha512-t2JXKaehnMb9paaYA7J0BX8QQAY8lwfQ9Gjf4pg/mk4krt+cmwmU652HOoWonf+7+EQV97ARPMhhVgU1ra2GhA==

has-flag@^3.0.0:
version "3.0.0"
resolved "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz"
Expand Down Expand Up @@ -915,6 +920,13 @@ react@^18.2.0:
dependencies:
loose-envify "^1.1.0"

recoil@^0.7.5:
version "0.7.5"
resolved "https://registry.yarnpkg.com/recoil/-/recoil-0.7.5.tgz#9a33a03350cfd99e08bdd5b73bfc8b8b9ee751b9"
integrity sha512-GVShsj5+M/2GULWBs5WBJGcsNis/d3YvDiaKjYh3mLKXftjtmk9kfaQ8jwjoIXySCwn8/RhgJ4Sshwgzj2UpFA==
dependencies:
hamt_plus "1.0.2"

reduce-reducers@^0.4.3:
version "0.4.3"
resolved "https://registry.yarnpkg.com/reduce-reducers/-/reduce-reducers-0.4.3.tgz#8e052618801cd8fc2714b4915adaa8937eb6d66c"
Expand Down

0 comments on commit a2584cb

Please sign in to comment.