Skip to content

Commit ee89dd8

Browse files
committed
fix import path
1 parent 166fd7d commit ee89dd8

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

apps/web/src/pages/Play/components/DiscardArea.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Hai, HaiWithID } from "../../../utils/hai";
1+
import type { Hai, HaiWithID } from "shared/hai";
22

33
interface DiscardAreaProps {
44
sutehai: Hai[];

apps/web/src/pages/Play/components/HandTiles.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Hai, HaiWithID } from "../../../utils/hai";
1+
import type { Hai, HaiWithID } from "shared/hai";
22

33
type HandTilesProps = {
44
tehai: Hai[];

apps/web/src/pages/Play/components/ValidTiles.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import type { Hai } from "shared/hai";
12
import calculateValidTiles from "../../../utils/calculateValidTiles";
2-
import type { Hai } from "../../../utils/hai";
33

44
type ValidTilesProps = {
55
tehai: Hai[];

apps/web/src/pages/Play/components/WaitingTiles.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import type { Hai, HaiWithID } from "shared/hai";
12
import calculateMachihai from "../../../utils/calculateMachihai";
2-
import type { Hai, HaiWithID } from "../../../utils/hai";
33

44
interface WaitingTilesProps {
55
tehai: Hai[];

apps/web/test/calculateMachihai.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { expect, test } from "bun:test";
2+
import { type Hai, constructHai } from "shared/hai";
23
import calculateMachihai from "../src/utils/calculateMachihai";
3-
import { type Hai, constructHai } from "../src/utils/hai";
44

55
const ryanmen: Hai[] = [
66
constructHai("jihai", "pei"),

apps/web/test/calculateSyantenMentsu.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { expect, test } from "bun:test";
2+
import { type Hai, constructHai } from "shared/hai";
23
import calculateSyantenMentsu from "../src/utils/calculateSyantenMentsu";
3-
import { type Hai, constructHai } from "../src/utils/hai";
44

55
const tenpai: Hai[] = [
66
constructHai("manzu", 1),

apps/web/test/calculateSyantenToitsu.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { expect, test } from "bun:test";
2+
import { type Hai, constructHai } from "shared/hai";
23
import calculateSyantenToitsu from "../src/utils/calculateSyantenToitsu";
3-
import { type Hai, constructHai } from "../src/utils/hai";
44

55
const tenpai: Hai[] = [
66
constructHai("jihai", "ton"),

apps/web/test/calculateValidTiles.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { expect, test } from "bun:test";
2+
import { type Hai, constructHai } from "shared/hai";
23
import calculateValidTiles from "../src/utils/calculateValidTiles";
3-
import { type Hai, constructHai } from "../src/utils/hai";
44

55
const tehaiQ148: Hai[] = [
66
constructHai("manzu", 1),

apps/web/test/judgeAgari.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { expect, test } from "bun:test";
2-
import { type Hai, constructHai } from "../src/utils/hai";
2+
import { type Hai, constructHai } from "shared/hai";
33
import judgeAgari from "../src/utils/judgeAgari";
44

55
const chinitsu1: Hai[] = [

apps/web/test/syantenUtilsForJihai.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { expect, test } from "bun:test";
2+
import { type Hai, constructHai } from "shared/hai";
23
import {
34
calculateCountInfoForJihai,
45
countHaiIndexForJihai,
56
extractTehaiValueByKind,
67
} from "../src/utils/calculateSyantenMentsu";
7-
import { type Hai, constructHai } from "../src/utils/hai";
88

99
const tenpai: Hai[] = [
1010
constructHai("manzu", 1),

0 commit comments

Comments
 (0)