Skip to content

Commit cecbaf6

Browse files
committed
Fix import extension in useLoadSaveFile hook
Changed the import of types from 'types/savefile' to 'types/savefile.js' to ensure correct module resolution.
1 parent f7fdf90 commit cecbaf6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/hooks/useLoadSaveFile.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { useCallback, useEffect, useState } from 'react';
22
import { XMLParser } from 'fast-xml-parser';
33
import { GetDetailedInfo, GetFarmHands } from '@utility/Utility';
4-
import type { gameLocationType, itemsType, itemType, playerType, saveFileType, saveGameType, specialOrderType } from 'types/savefile';
4+
import type { gameLocationType, itemsType, itemType, playerType, saveFileType, saveGameType, specialOrderType } from 'types/savefile.js';
55

66
export interface UseLoadSaveFileResult {
77
playerData: any;

0 commit comments

Comments
 (0)