Skip to content

Commit 9839b31

Browse files
committed
fix component import error
1 parent 9198896 commit 9839b31

4 files changed

Lines changed: 6 additions & 2 deletions

File tree

next.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ module.exports = withNextra({
2020
config.plugins.push(
2121
new webpack.IgnorePlugin({
2222
resourceRegExp: /katex\.min\.css$/,
23+
contextRegExp: /node_modules/,
2324
})
2425
)
2526
return config

pages/_app.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import "../styles/katex.min.css";
21
import "../styles/custom.css";
32
import CopilotKitWrapper from "../components/CopilotKitWrapper";
43

pages/android-terminals/print-receipt.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ import { Callout } from "nextra/components";
99

1010
<Callout type="warning">
1111

12-
**[Printer SDK API reference](https://github.com/DspreadOrg/android/blob/master/QPOS-Android-PrinterSDK-Userguid-en-detail.pdf)** : Please check the link to know the specific Printer SDK API reference.
12+
Please check the link to know the specific Printer SDK API reference.
13+
14+
📄 [**Printer SDK API** (PDF)](https://github.com/DspreadOrg/android/blob/master/QPOS-Android-PrinterSDK-Userguid-en-detail.pdf)
1315

1416
</Callout>
1517

styles/custom.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import "./katex.min.css";
2+
13
/* Sidebar styling */
24
.nextra-sidebar-container .nx-mt-5 {
35
margin-top: 0.75rem !important;

0 commit comments

Comments
 (0)