Which sentence contains a misplaced modifier?

A: A small book sat on the desk that Sarah had read.
B: A small book that Sarah had read sat on the desk.