Skip to content

Commit 23c84a2

Browse files
committed
Main->main
1 parent 6775351 commit 23c84a2

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

apps/nutritionfacts/coverage/coverage.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,27 +18,27 @@ coverage:
1818
lines: 0%
1919
uncovered_line_numbers: "11-57"
2020
assets:
21-
"Layout.ts":
21+
"colors.ts":
2222
statements: 100%
2323
branches: 100%
2424
functions: 100%
2525
lines: 100%
26-
"Logos.tsx":
26+
"consts.tsx":
27+
statements: 80%
28+
branches: 33.33%
29+
functions: 0%
30+
lines: 80%
31+
uncovered_line_numbers: "59"
32+
"layout.ts":
2733
statements: 100%
2834
branches: 100%
2935
functions: 100%
3036
lines: 100%
31-
"colors.ts":
37+
"logos.tsx":
3238
statements: 100%
3339
branches: 100%
3440
functions: 100%
3541
lines: 100%
36-
"consts.tsx":
37-
statements: 80%
38-
branches: 33.33%
39-
functions: 0%
40-
lines: 80%
41-
uncovered_line_numbers: "59"
4242
components:
4343
export:
4444
"controlButton.tsx":

apps/nutritionfacts/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111

1212
<body>
1313
<div id="root"></div>
14-
<script type="module" src="/src/Main.tsx"></script>
14+
<script type="module" src="/src/main.tsx"></script>
1515
</body>
1616
</html>

apps/nutritionfacts/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ describe("index.html", () => {
5050
it("should load main script as module", () => {
5151
const script = document.querySelector('script[type="module"]');
5252
expect(script).not.toBeNull();
53-
expect(script?.getAttribute("src")).toBe("/src/Main.tsx");
53+
expect(script?.getAttribute("src")).toBe("/src/main.tsx");
5454
});
5555
});

apps/nutritionfacts/src/app.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ const App: FC = () => {
5757
return (
5858
<View
5959
as="div"
60-
background={isInIframe ? "primary" : isDark ? "brand" : "secondary"}
60+
background={isInIframe ? "primary" : (isDark ? "brand" : "secondary")}
6161
data-print="no-padding, no-background"
6262
minHeight="100vh"
63-
padding={isInIframe ? "0" : isNarrow ? "medium" : "large"}
63+
padding={isInIframe ? "0" : (isNarrow ? "medium" : "large")}
6464
themeOverride={{ backgroundBrand: colors.instructure }}
6565
>
6666
{!isInIframe && (

0 commit comments

Comments
 (0)