You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Added a method for recording and displaying warnings when doing conversions.
* Added icon and changed color to yellow.
* added dark theme (only slightly darker)
* Accidentally missed several merge conflicts in rebase
* more merge fixes
* Fixed issue with empty selection causing weird errors with syntax highlighter
Copy file name to clipboardExpand all lines: apps/debug/pages/index.tsx
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,8 @@ export default function Web() {
6
6
const[selectedFramework,setSelectedFramework]=
7
7
React.useState<FrameworkTypes>("HTML");
8
8
9
+
consttestWarnings=["This is an example of a conversion warning message."];
10
+
9
11
return(
10
12
<divclassName="flex flex-col p-8 space-y-2">
11
13
<pclassName="text-3xl font-bold">Debug Mode</p>
@@ -19,14 +21,14 @@ export default function Web() {
19
21
code={
20
22
"backend:dev: CJS dist/index.js 105.74 KB backend:dev: CJS ⚡️ Build success in 419ms plugin:dev: warn - Port 3000 is in use, trying 3001 instead. plugin:dev: warn - Port 3001 is in use, trying 3002 instead."
21
23
}
22
-
emptySelection={false}
23
24
selectedFramework={selectedFramework}
24
25
setSelectedFramework={setSelectedFramework}
25
26
htmlPreview={null}
26
27
settings={undefined}
27
28
onPreferenceChanged={()=>{}}
28
29
colors={[]}
29
30
gradients={[]}
31
+
warnings={testWarnings}
30
32
/>
31
33
</div>
32
34
</div>
@@ -38,12 +40,12 @@ export default function Web() {
0 commit comments