minor change

This commit is contained in:
Malte Delfs 2021-06-18 14:00:53 +02:00
parent 738d91787b
commit 50bc6b480e

View file

@ -18,8 +18,7 @@ dayjs.extend(timezone);
export default function Success(props) {
const router = useRouter();
const { location } = router.query;
const { name } = router.query;
const {location, name} = router.query;
const [ is24h, setIs24h ] = useState(false);
const [ date, setDate ] = useState(dayjs.utc(router.query.date));