Skip to content

Commit

Permalink
remove unused props
Browse files Browse the repository at this point in the history
  • Loading branch information
pankona committed Dec 9, 2021
1 parent 8b9341f commit 70c563e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 1 addition & 4 deletions hashira-web/src/App.tsx
Expand Up @@ -109,6 +109,7 @@ const App: React.VFC = () => {
setIsUploading(false);
}}
/>
<input type="button" value={"Move"} disabled={isUploading} />

{tasksAndPriorities ? (
<div
Expand All @@ -125,7 +126,6 @@ const App: React.VFC = () => {
checkedTasks={checkedTasks}
setCheckedTasks={setCheckedTasks}
setTasksAndPriorities={setTasksAndPriorities}
setIsUploading={setIsUploading}
/>
<TaskList
user={user}
Expand All @@ -134,7 +134,6 @@ const App: React.VFC = () => {
checkedTasks={checkedTasks}
setCheckedTasks={setCheckedTasks}
setTasksAndPriorities={setTasksAndPriorities}
setIsUploading={setIsUploading}
/>
<TaskList
user={user}
Expand All @@ -143,7 +142,6 @@ const App: React.VFC = () => {
checkedTasks={checkedTasks}
setCheckedTasks={setCheckedTasks}
setTasksAndPriorities={setTasksAndPriorities}
setIsUploading={setIsUploading}
/>
<TaskList
user={user}
Expand All @@ -152,7 +150,6 @@ const App: React.VFC = () => {
checkedTasks={checkedTasks}
setCheckedTasks={setCheckedTasks}
setTasksAndPriorities={setTasksAndPriorities}
setIsUploading={setIsUploading}
/>
</div>
) : undefined}
Expand Down
1 change: 0 additions & 1 deletion hashira-web/src/TaskList.tsx
Expand Up @@ -43,7 +43,6 @@ export const TaskList: React.VFC<{
checkedTasks: { [key: string]: boolean };
setCheckedTasks: (a: { [key: string]: boolean }) => void;
setTasksAndPriorities: (tp: any | undefined) => void;
setIsUploading: (b: boolean) => void;
}> = ({
user,
place,
Expand Down

0 comments on commit 70c563e

Please sign in to comment.