Skip to content

Commit

Permalink
remove unneeded spread
Browse files Browse the repository at this point in the history
  • Loading branch information
neptunian committed Dec 9, 2019
1 parent 78cac5e commit f6e46a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function AddDataSource({ pkgkey }: AddDataSourceProps) {

useEffect(() => {
getPackageInfoByKey(pkgkey).then(response => {
setInfo({ ...response });
setInfo(response);
});
}, [pkgkey]);

Expand Down

0 comments on commit f6e46a6

Please sign in to comment.