Skip to content

Commit bdcb384

Browse files
committed
fix imports
1 parent cb4478d commit bdcb384

File tree

1 file changed

+6
-10
lines changed
  • packages/dev/s2-docs/pages/s2/home

1 file changed

+6
-10
lines changed

packages/dev/s2-docs/pages/s2/home/Home.tsx

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
import { size, style } from "@react-spectrum/s2/style" with {type: 'macro'};
2-
// @ts-ignore
3-
import { getColorScale } from "../../../src/color.macro" with {type: 'macro'};
4-
// @ts-ignore
5-
import { Code } from "../../../src/Code";
6-
// @ts-ignore
7-
import { Pre } from "../../../src/CodePlatter";
2+
import { getColorScale } from "@react-spectrum/s2-docs/src//color.macro" with {type: 'macro'};
3+
import { Code } from "@react-spectrum/s2-docs/src//Code";
4+
import { Pre } from "@react-spectrum/s2-docs/src/CodePlatter";
85
import { ObjectStyles } from "./ObjectStyles";
96
import { DarkMode } from "./DarkMode";
107
import { AppFrame, ExampleApp } from "./ExampleApp";
@@ -40,15 +37,14 @@ import { Responsive } from "./Responsive";
4037
import { mergeStyles } from "../../../../../@react-spectrum/s2/style/runtime";
4138
import { ReduceMotion } from "./ReduceMotion";
4239
import { Colors } from "./Colors";
43-
import '../../../src/footer.css';
40+
import '@react-spectrum/s2-docs/src/footer.css';
4441
// @ts-ignore
4542
import bg from 'data-url:./bg.svg';
4643
// import { SubmenuAnimation } from "./SubmenuAnimation";
4744
// @ts-ignore
4845
import { keyframes } from "../../../../../@react-spectrum/s2/style/style-macro" with {type: 'macro'};
49-
// @ts-ignore
50-
import { getBaseUrl } from "../../../src/pageUtils";
51-
import SearchMenuWrapperServer from "../../../src/SearchMenuWrapperServer";
46+
import { getBaseUrl } from "@react-spectrum/s2-docs/src/pageUtils";
47+
import SearchMenuWrapperServer from "@react-spectrum/s2-docs/src/SearchMenuWrapperServer";
5248
import type {Page} from "@parcel/rsc";
5349

5450
const container = style({

0 commit comments

Comments
 (0)