Put in order · Next.js course · Module 7: Authentication and Authorization

Order: import { notFound } → from 'next/navigation'

Arrange the elements in the correct order: import { notFound } → from 'next/navigat

Items to put in order

  • from 'next/navigation'
  • notFound()
  • if (!data)
  • import { notFound }

You can check the correct answer by solving this task in the CodeWorlds game.