Verified Commit b63d1745 authored by Sandro Lutz's avatar Sandro Lutz
Browse files

Fix minor issues

parent 93b4ae78
......@@ -58,7 +58,7 @@ const FilteredListLayout = ({
className,
...props
}) => {
const [showMobileFilter, setShowMobileFilter] = useState(true)
const [showMobileFilter, setShowMobileFilter] = useState(false)
const classes = useStyles()
const theme = useTheme()
......
......@@ -2,7 +2,7 @@ import React from 'react'
import PropTypes from 'prop-types'
import { makeStyles, useTheme } from '@material-ui/core/styles'
import Skeleton from '@material-ui/lab/Skeleton'
import { Paper, Box } from '@material-ui/core'
import { Paper } from '@material-ui/core'
import { apiUrl } from 'config'
import Image from '../general/image'
......@@ -60,7 +60,7 @@ const JobsCard = ({ joboffer, elevation, className, ...props }) => {
)
return (
<Paper boxShadow={2} className={[classes.root].join(' ')} {...props}>
<Paper elevation={2} className={[classes.root].join(' ')} {...props}>
{joboffer ? (
<Link to={`/jobs/${joboffer._id}`} className={classes.container}>
<TranslatedContent
......
......@@ -14,6 +14,7 @@ const StudydocumentFormCourseYearField = ({ value, onChange, ...props }) => {
type="number"
onChange={e => {
const { value: newValue } = e.target
console.log(newValue)
onChange({
name: 'course_year',
value: newValue,
......@@ -27,7 +28,7 @@ const StudydocumentFormCourseYearField = ({ value, onChange, ...props }) => {
StudydocumentFormCourseYearField.propTypes = {
/** Value of the field. */
value: PropTypes.number,
value: PropTypes.string,
/** Callback when the field value has changed. */
onChange: PropTypes.func.isRequired,
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment