Skip to content

Commit

Permalink
Remove sort order from API call in NyansettelserPage.tsx #deploy-test…
Browse files Browse the repository at this point in the history
…-front #deploy-frontend

The sort order parameter 'id,DESC' was removed from the useLevendeArbeidsforholdLogg API call. This change simplifies the function call and relies on the API's default sorting behavior.
  • Loading branch information
krharum committed Oct 28, 2024
1 parent 9e91368 commit 9f6b650
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import Loading from '@/components/ui/loading/Loading'
import { DollyCopyButton } from '@/components/ui/button/CopyButton/DollyCopyButton'

export default () => {
const { loggData, loading, error } = useLevendeArbeidsforholdLogg(0, 1000, 'id,DESC')
const { loggData, loading, error } = useLevendeArbeidsforholdLogg(0, 1000, 'id')

const [identSoekData, setIdentSoekData] = useState(null)
const [orgnummerSoekData, setOrgnummerSoekData] = useState(null)
Expand Down

0 comments on commit 9f6b650

Please sign in to comment.