Skip to content

Commit eaa029d

Browse files
committed
Fixed GitHub Pages deployment
1 parent 2fae8f7 commit eaa029d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ <h3>Cpp / Clangd</h3>
6565
<h3>Multi-Language Client</h3>
6666
Json & Python Language Clients App: [ <a href="./packages/examples/two_langauge_clients.html">Example Page</a> ] (Requires Json and Python Language Servers, see above)
6767
<h3>Application Playground</h3>
68-
Application Playground (incl. Open Collaboration Tools): [ <a href="./packages/examples/appPlayground.html">Example Page</a> | <a href="./packages/examples/react_appPlayground.html">React Version</a> ]
68+
Application Playground (incl. Open Collaboration Tools): [ <a href="./packages/examples/appPlayground.html">Example Page</a> | <a href="./packages/examples/react_appPlayground.html">React Example Page</a> ]
6969
<h3>TypeScript</h3>
7070
TypeScript Extension Host Worker: [ <a href="./packages/examples/tsExtHost.html">Example Page</a> ]
7171

packages/examples/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ <h3>Langium</h3>
1818

1919
Langium Grammar DSL (Language Server in Worker): [ <a href="./ghp_langium_extended.html">Example Page</a> ]
2020
<br>
21-
Langium Statemachine (Language Server in Worker): [ <a href="./ghp_statemachine.html">Example Page | <a href="./ghp_react_statemachine.html">React Example Page</a> ]
21+
Langium Statemachine (Language Server in Worker): [ <a href="./ghp_statemachine.html">Example Page</a> | <a href="./ghp_react_statemachine.html">React Example Page</a> ]
2222
<br>
2323
&nbsp;&nbsp;->&nbsp;&nbsp;Localized Versions: [
2424
<a href="./ghp_statemachine.html?locale=cs">cs</a> -

packages/examples/src/langium/statemachine/main-react.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export const runStatemachineReact = async (noControls: boolean) => {
5656
};
5757

5858
const renderApp = () => {
59-
const strictMode = (document.getElementById('checkbox-strictmode')! as HTMLInputElement).checked;
59+
const strictMode = (document.getElementById('checkbox-strictmode') as HTMLInputElement)?.checked ?? false;
6060
if (strictMode) {
6161
root.render(<StrictMode><App /></StrictMode>);
6262
} else {

0 commit comments

Comments
 (0)