import { resolve } from '$app/paths';
import { redirect } from '@sveltejs/kit';

export async function load({ params }) {
	// The library pane is its sections; land on the first one.
	redirect(
		303,
		resolve('/(root)/settings/libraries/[libraryId]/duplicates', { libraryId: params.libraryId })
	);
}
