docs: add jsdoc
This commit is contained in:
@@ -24,7 +24,11 @@ import { useAtom } from "jotai";
|
||||
import { API_BASE_URL } from "../App";
|
||||
import { copyDXLink, ifstyle } from "../trash/helpers";
|
||||
import { useWebHaptics } from "web-haptics/react";
|
||||
import { DengiCaching } from "../trash/dengiCashingSystem";
|
||||
|
||||
/**
|
||||
* @param {{classIDAtom,adminAtom,setsetRoute,routeAtom,pickmeModeAtom,dengi_cash: DengiCaching}} param0
|
||||
*/
|
||||
export function DX4App({
|
||||
classIDAtom,
|
||||
adminAtom,
|
||||
@@ -154,6 +158,9 @@ export function DX4App({
|
||||
})();
|
||||
}, [classId, adminId]);
|
||||
|
||||
/**
|
||||
* @param {KeyboardEvent} event
|
||||
*/
|
||||
const handleKeyPress = (event) => {
|
||||
switch (event.key) {
|
||||
case "a":
|
||||
|
||||
Reference in New Issue
Block a user