We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab2d970 commit ed4813cCopy full SHA for ed4813c
.github/workflows/chunk-generator.yaml
@@ -20,6 +20,9 @@ jobs:
20
node-version: "22"
21
- name: Install dependencies
22
run: npm ci
23
+ - name: Build TryItNow
24
+ working-directory: ./packages/try-it-now
25
+ run: npm run build
26
- name: Lint
27
working-directory: ./packages/chunk-generator
28
run: npm run lint
packages/try-it-now/src/hooks/useTranspiledCode.ts
@@ -6,7 +6,7 @@ import type {
6
} from "@codesandbox/sandpack-client";
7
import { useEffect, useState } from "react";
8
9
-function getTranspiledCode(client: SandpackClient): string | null {
+const getTranspiledCode = (client: SandpackClient): string | null => {
10
if (!client) return null;
11
12
const bundlerState = client[
0 commit comments