Correct the homophone

In medieval England, a simple pallet to sleep on was all a poor family might be able to afford.

In medieval England, a simple palette to sleep on was all a poor family might be able to afford.