refactor: make function private

This commit is contained in:
Carlos Valente
2025-01-18 21:53:38 +01:00
committed by Carlos Valente
parent b5cf6c4bd1
commit 8fac23c078
@@ -76,7 +76,7 @@ type CuesheetOptions = {
* Utility extract the view options from URL Params * Utility extract the view options from URL Params
* the names and fallbacks are manually matched with cuesheetOptions * the names and fallbacks are manually matched with cuesheetOptions
*/ */
export function getOptionsFromParams(searchParams: URLSearchParams): CuesheetOptions { function getOptionsFromParams(searchParams: URLSearchParams): CuesheetOptions {
// we manually make an object that matches the key above // we manually make an object that matches the key above
return { return {
showActionMenu: isStringBoolean(searchParams.get('showActionMenu')), showActionMenu: isStringBoolean(searchParams.get('showActionMenu')),