fix: shortened imports
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 44s

This commit is contained in:
Stixx 2025-01-15 10:47:17 +01:00
parent 5188f27624
commit 34b993db20
4 changed files with 4 additions and 5 deletions

View File

@ -94,8 +94,7 @@ export const SignatureStrategy: MarkStrategy = {
if (arrayBuffer) {
// decode json
const decoder = new TextDecoder()
const json = decoder.decode(arrayBuffer)
return json
return decoder.decode(arrayBuffer)
}
// TOOD: offline

View File

@ -7,7 +7,7 @@ import {
getUpdatedMark,
updateCurrentUserMarks
} from '../../utils'
import { EMPTY } from '../../utils/const.ts'
import { EMPTY } from '../../utils'
import { Container } from '../Container'
import signPageStyles from '../../pages/sign/style.module.scss'
import { CurrentUserFile } from '../../types/file.ts'

View File

@ -4,7 +4,7 @@ import { CurrentUserFile } from '../../types/file.ts'
import { useEffect, useRef } from 'react'
import { FileDivider } from '../FileDivider.tsx'
import React from 'react'
import { LoadingSpinner } from '../LoadingSpinner/index.tsx'
import { LoadingSpinner } from '../LoadingSpinner'
interface PdfViewProps {
currentFile: CurrentUserFile | null

View File

@ -47,7 +47,7 @@ import {
} from '../../utils/file.ts'
import { generateTimestamp } from '../../utils/opentimestamps.ts'
import { MARK_TYPE_CONFIG } from '../../components/MarkTypeStrategy/MarkStrategy.tsx'
import { useNDK } from '../../hooks/useNDK.ts'
import { useNDK } from '../../hooks'
import { getLastSignersSig } from '../../utils/sign.ts'
export const SignPage = () => {