Skip to content

Commit 971f53e

Browse files
Ashwini KumbleAshwini Kumble
authored andcommitted
fixed ishihara errors
1 parent f826ce5 commit 971f53e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/public/color-palette-study/assets/IshiharaPlate.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import {
55
import { StimulusParams } from '../../../store/types';
66

77
// Auto-import all Ishihara images inside ./ishihara
8-
const ishiharaImages = import.meta.glob("./ishihara/*.png", {
8+
const ishiharaImages = import.meta.glob('./ishihara/*.png', {
99
eager: true,
10-
import: "default",
10+
import: 'default',
1111
}) as Record<string, string>;
1212

1313
function getIshiharaUrl(plateIndex: number) {
@@ -144,7 +144,7 @@ export default function IshiharaPlate({ parameters, setAnswer }: IshiharaPlatePr
144144
window.addEventListener('keydown', handleKeyDown);
145145
return () => window.removeEventListener('keydown', handleKeyDown);
146146
}, [isValid]);
147-
147+
148148
const resolvedSrc = getIshiharaUrl(plateIndex);
149149

150150
return (

0 commit comments

Comments
 (0)