Skip to content

Commit

Permalink
fix: disable check
Browse files Browse the repository at this point in the history
  • Loading branch information
ntucker committed Sep 12, 2024
1 parent 650a8b9 commit ee3cab3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/typescript/src/pages/Home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import myHtml from './test.html';
// @ts-ignore
const worker = new Worker(new URL('./echo.js', import.meta.url));

const empty = null;

export default function Home() {
worker.postMessage({ message: 'rendered' });
return (
Expand All @@ -36,7 +38,7 @@ export default function Home() {
</h3>
<p className={plain.mountainTop}>
Ok again <img src={animated} /> {path.join('/hi/bob', 'test.txt')}{' '}
{null ?? IssueResource.get.path} {StaticBlock.a}
{empty ?? IssueResource.get.path} {StaticBlock.a}
</p>
<p className={sillyStyle.silly}>$text-color: {variables.textColor}</p>
<p>
Expand Down

0 comments on commit ee3cab3

Please sign in to comment.