import { createState } from "solid-js";

export const [state, setState] = createState({
	user: null,
	path: location.pathname.substring(1),
	poi: '',
	openNow: true,
	partner: true,
	delivery: null,
	pickup: null,
	prepayment: null,
	which: 'isodistance',
	isodistance: 2,
	knn: 15,
	custom: []
});