refactor: deno lint fix slow-type-missing-explicit-return-type
This commit is contained in:
parent
54ceae3e71
commit
cbb26e87ce
|
@ -28,7 +28,7 @@ function MagicLink(
|
|||
ip?: string
|
||||
endpoint: string
|
||||
},
|
||||
) {
|
||||
): JSX.Element {
|
||||
return (
|
||||
<Html lang='fr' style={{ fontSize: '14px' }}>
|
||||
<BaseStyle />
|
||||
|
|
|
@ -2,10 +2,11 @@ import { Body, Container, Html, Markdown, Preview } from 'jsx-email'
|
|||
import { Signature } from './components/Signature.tsx'
|
||||
import type { Template } from '../types.ts'
|
||||
import { BaseStyle, bodyCss, messageCss, textCss } from './styles/base.tsx'
|
||||
import type { JSX } from 'preact'
|
||||
|
||||
function Message(
|
||||
{ summary, body }: { summary?: string; body: string },
|
||||
) {
|
||||
): JSX.Element {
|
||||
return (
|
||||
<Html lang='fr' style={{ fontSize: '14px' }}>
|
||||
<BaseStyle />
|
||||
|
|
|
@ -29,7 +29,7 @@ function Welcome(
|
|||
login: string
|
||||
endpoint?: string
|
||||
},
|
||||
) {
|
||||
): JSX.Element {
|
||||
return (
|
||||
<Html lang='fr' style={{ fontSize: '14px' }}>
|
||||
<BaseStyle />
|
||||
|
|
Loading…
Reference in a new issue