fix: shortened imports
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 44s
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 44s
This commit is contained in:
parent
5188f27624
commit
34b993db20
@ -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
|
||||||
|
@ -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'
|
||||||
|
@ -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
|
||||||
|
@ -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 = () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user