Merged in fix/3697-prettier-configs (pull request #3396)

fix(SW-3691): Setup one prettier config for whole repo

* Setup prettierrc in root and remove other configs


Approved-by: Joakim Jäderberg
Approved-by: Linus Flood
This commit is contained in:
Rasmus Langvad
2026-01-07 12:45:50 +00:00
parent 932413412b
commit d0546926a9
500 changed files with 18367 additions and 18419 deletions

View File

@@ -1,10 +1,10 @@
import { MaterialIcon } from '../../Icons/MaterialIcon'
import { OldDSButton as Button } from '../../OldDSButton'
import Subtitle from '../../Subtitle'
import { MaterialIcon } from "../../Icons/MaterialIcon"
import { OldDSButton as Button } from "../../OldDSButton"
import Subtitle from "../../Subtitle"
import styles from './modalContent.module.css'
import styles from "./modalContent.module.css"
import type { ReactNode } from 'react'
import type { ReactNode } from "react"
interface ModalContentProps {
title?: string
@@ -12,14 +12,14 @@ interface ModalContentProps {
primaryAction: {
label: string
onClick: () => void
intent?: 'primary' | 'secondary' | 'text'
intent?: "primary" | "secondary" | "text"
isLoading?: boolean
disabled?: boolean
} | null
secondaryAction: {
label: string
onClick: () => void
intent?: 'primary' | 'secondary' | 'text'
intent?: "primary" | "secondary" | "text"
} | null
onClose?: () => void
}
@@ -46,7 +46,7 @@ export function ModalContentWithActions({
{secondaryAction && (
<Button
theme="base"
intent={secondaryAction.intent ?? 'text'}
intent={secondaryAction.intent ?? "text"}
color="burgundy"
onClick={secondaryAction.onClick}
>
@@ -56,7 +56,7 @@ export function ModalContentWithActions({
{primaryAction && (
<Button
theme="base"
intent={primaryAction.intent ?? 'secondary'}
intent={primaryAction.intent ?? "secondary"}
onClick={primaryAction.onClick}
disabled={primaryAction.isLoading || primaryAction.disabled}
>