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) { if (arrayBuffer) {
// decode json // decode json
const decoder = new TextDecoder() const decoder = new TextDecoder()
const json = decoder.decode(arrayBuffer) return decoder.decode(arrayBuffer)
return json
} }
// TOOD: offline // TOOD: offline

View File

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

View File

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

View File

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