Skip to content

Commit

Permalink
doc: add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
vannizhang committed Mar 2, 2024
1 parent 83785bf commit cfd4bf4
Show file tree
Hide file tree
Showing 10 changed files with 80 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!doctype html><html dir="ltr"><meta charset="utf-8"><meta content="IE=edge" http-equiv="X-UA-Compatible"><meta name="viewport" content="width=device-width,user-scalable=no"><title>react-redux-boilerplate</title><meta name="title" content="react-redux-boilerplate"><meta name="description" content="Start React+Redux project with TypeScript in an easier and faster way"><meta name="author" content="Jinnan Zhang"><meta name="keywords" content=""><meta name="og:title" content="react-redux-boilerplate"><meta name="og:description" content="Start React+Redux project with TypeScript in an easier and faster way"><meta name="og:url" content="https://github.com/vannizhang/react-redux-boilerplate"><script defer="defer" src="main.f8d4e4dbac29b16b4dfe.js"></script><link href="main.41bd8b12291187b7e2e3.css" rel="stylesheet"><div id="root"></div>
4 changes: 4 additions & 0 deletions docs/main.41bd8b12291187b7e2e3.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/main.41bd8b12291187b7e2e3.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions docs/main.f8d4e4dbac29b16b4dfe.js

Large diffs are not rendered by default.

68 changes: 68 additions & 0 deletions docs/main.f8d4e4dbac29b16b4dfe.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* use-sync-external-store-shim.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* use-sync-external-store-shim/with-selector.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
1 change: 1 addition & 0 deletions docs/main.f8d4e4dbac29b16b4dfe.js.map

Large diffs are not rendered by default.

Binary file added docs/public/favicon.ico
Binary file not shown.
Binary file added docs/public/thumbnail.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/ToDo/AddTask.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { useDispatch } from 'react-redux';
export const AddTask = () => {
const dispatch = useDispatch();

const [taskName, setTaskName] = useState<string>();
const [taskName, setTaskName] = useState<string>('');

const handleSumbit = () => {
if (!taskName) {
Expand Down
2 changes: 1 addition & 1 deletion src/components/ToDo/TaskList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const TaskList = () => {
<input
type="checkbox"
checked={task.completed}
onClick={() => {
onChange={(e) => {
dispatch(taskToggled(task.id));
}}
/>
Expand Down

0 comments on commit cfd4bf4

Please sign in to comment.