简单的React问题

遇到一小段js的麻烦,我不断收到错误消息:

编译失败 ./src/App.js   81:9行:预期分配或函数调用,而是看到一个表达式no-unused-expressions

Search for the keywords to learn more about each error.
This error occurred during the build time and cannot be dismissed.

代码如下:

function TaskList() {
  const deadlines = [
    { title: "wash the dishes!"},
    { title: "take out the trash!" },
    { title: "walk the dog!"},
  ];

  return (
    <div style={{ padding: "30px" }}>
      {deadlines.map((task) => {
        <>
          <a>{task.title}</a>
        </>
      })}
    </div>
  );
}