Skip to content

Commit

Permalink
add webGPU functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
blechdom committed Nov 19, 2023
1 parent c616cfb commit 0186418
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useDevice.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client'
import { useEffect, useState } from "react"

const useDevice = () => {
const useDevice = (): any => {
const [adapter, setAdapter] = useState<GPUAdapter>()
const [device, setDevice] = useState<GPUDevice>()

Expand Down

0 comments on commit 0186418

Please sign in to comment.