Skip to content

Commit

Permalink
docs: 去掉未使用的 React 导入
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaohappy committed Mar 3, 2025
1 parent cc01bc4 commit 8399dbb
Show file tree
Hide file tree
Showing 16 changed files with 0 additions and 16 deletions.
1 change: 0 additions & 1 deletion site/docs/demo/audio-decode-wasm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import Sleep from '@libmedia/common/timer/Sleep'

import { formatUrl, getIOReader, getAVFormat, getAccept, getWasm } from './utils'
import { useEffect, useRef, useState } from 'react'
import React from 'react'


let file: File
Expand Down
1 change: 0 additions & 1 deletion site/docs/demo/audio-decode-webcodecs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import Sleep from '@libmedia/common/timer/Sleep'

import { formatUrl, getIOReader, getAVFormat, getAccept } from './utils'
import { useEffect, useRef, useState } from 'react'
import React from 'react'

let file: File
let stop = true
Expand Down
1 change: 0 additions & 1 deletion site/docs/demo/audio-encode-wasm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import Sleep from '@libmedia/common/timer/Sleep'

import { formatUrl, getIOReader, getAVFormat, getAccept, getWasm } from './utils'
import { useEffect, useRef, useState } from 'react'
import React from 'react'

let file: File
let stop = true
Expand Down
1 change: 0 additions & 1 deletion site/docs/demo/audio-encode-webcodecs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import WebAudioEncoder from '@libmedia/avcodec/webcodec/AudioEncoder'

import { formatUrl, getIOReader, getAVFormat, getAccept, getWasm } from './utils'
import { useEffect, useRef, useState } from 'react'
import React from 'react'

let file: File
let stop = true
Expand Down
1 change: 0 additions & 1 deletion site/docs/demo/audio-render-audiodata.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import * as cheapConfig from '@libmedia/cheap/config'

import { formatUrl, getIOReader, getAVFormat, getAccept, getWasm } from './utils'
import { useEffect } from 'react'
import React from 'react'


let file: File
Expand Down
1 change: 0 additions & 1 deletion site/docs/demo/audio-render-avframe.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import * as cheapConfig from '@libmedia/cheap/config'

import { formatUrl, getIOReader, getAVFormat, getAccept, getWasm } from './utils'
import { useEffect } from 'react'
import React from 'react'

let file: File
let stop = true
Expand Down
1 change: 0 additions & 1 deletion site/docs/demo/demux.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import Sleep from '@libmedia/common/timer/Sleep'

import { formatUrl, getIOReader, getAVFormat, getAccept } from './utils'
import { useEffect, useRef, useState } from 'react'
import React from 'react'

let file: File
let stop = true
Expand Down
1 change: 0 additions & 1 deletion site/docs/demo/mux.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { copyCodecParameters } from '@libmedia/avutil/util/codecparameters'

import { formatUrl, getIOReader, getAVFormat, getAccept } from './utils'
import { useEffect, useRef, useState } from 'react'
import React from 'react'

let file: File
let stop = true
Expand Down
1 change: 0 additions & 1 deletion site/docs/demo/probe.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import compileResource from '@libmedia/avutil/function/compileResource'

import { formatUrl, getIOReader, getAVFormat, getAccept, getWasm } from './utils'
import { useEffect, useRef, useState } from 'react'
import React from 'react'

let file: File

Expand Down
1 change: 0 additions & 1 deletion site/docs/demo/video-decode-wasm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { destroyAVFrame } from '@libmedia/avutil/util/avframe'

import { formatUrl, getIOReader, getAVFormat, getAccept, getWasm } from './utils'
import { useEffect, useRef, useState } from 'react'
import React from 'react'

let file: File
let stop = true
Expand Down
1 change: 0 additions & 1 deletion site/docs/demo/video-decode-webcodecs-hardware.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import Sleep from '@libmedia/common/timer/Sleep'

import { formatUrl, getIOReader, getAVFormat, getAccept } from './utils'
import { useEffect, useRef, useState } from 'react'
import React from 'react'

let file: File
let stop = true
Expand Down
1 change: 0 additions & 1 deletion site/docs/demo/video-decode-webcodecs-software.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import Sleep from '@libmedia/common/timer/Sleep'

import { formatUrl, getIOReader, getAVFormat, getAccept } from './utils'
import { useEffect, useRef, useState } from 'react'
import React from 'react'

let file: File
let stop = true
Expand Down
1 change: 0 additions & 1 deletion site/docs/demo/video-encode-wasm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import WasmVideoEncoder from '@libmedia/avcodec/wasmcodec/VideoEncoder'

import { formatUrl, getIOReader, getAVFormat, getAccept, getWasm } from './utils'
import { useEffect, useRef, useState } from 'react'
import React from 'react'


let file: File
Expand Down
1 change: 0 additions & 1 deletion site/docs/demo/video-encode-webcodecs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import WebVideoEncoder from '@libmedia/avcodec/webcodec/VideoEncoder'

import { formatUrl, getIOReader, getAVFormat, getAccept, getWasm } from './utils'
import { useEffect, useRef, useState } from 'react'
import React from 'react'

let file: File
let stop = true
Expand Down
1 change: 0 additions & 1 deletion site/docs/demo/video-render-avframe.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import { destroyAVFrame } from '@libmedia/avutil/util/avframe'

import { formatUrl, getIOReader, getAVFormat, getAccept, getWasm } from './utils'
import { useEffect, useRef } from 'react'
import React from 'react'

let file: File
let stop = true
Expand Down
1 change: 0 additions & 1 deletion site/docs/demo/video-render-videoframe.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import Sleep from '@libmedia/common/timer/Sleep'

import { formatUrl, getIOReader, getAVFormat, getAccept } from './utils'
import { useEffect, useRef } from 'react'
import React from 'react'

let file: File
let stop = true
Expand Down

0 comments on commit 8399dbb

Please sign in to comment.