Merged in chore/update-eslint-configs (pull request #2812)
chore: Extend eslint configs from @typescript-eslint/recommended * Change to typescript recommended in scandic-web * Remove comment * Change to recommended ts config in partner-sas * Change to recommended ts lint config in booking-flow Approved-by: Linus Flood
This commit is contained in:
@@ -63,7 +63,11 @@ export function getInitialState({
|
||||
}
|
||||
}
|
||||
|
||||
export function reducer(state: any, action: OverviewTableReducerAction) {
|
||||
export function reducer(
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
state: any,
|
||||
action: OverviewTableReducerAction
|
||||
) {
|
||||
switch (action.type) {
|
||||
case OverviewTableActionsEnum.SET_SELECTED_LEVEL_A_MOBILE:
|
||||
return {
|
||||
|
||||
@@ -28,6 +28,7 @@ export default function TableBlock({ data }: TableBlockProps) {
|
||||
accessorKey: col.id,
|
||||
header: col.header,
|
||||
size: col.width,
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
cell: (info: any) => (
|
||||
<div dangerouslySetInnerHTML={{ __html: info.getValue() }} />
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user