Skip to content

Commit

Permalink
fix format issues
Browse files Browse the repository at this point in the history
  • Loading branch information
KurtGokhan committed Mar 31, 2024
1 parent 426100e commit 747c9fa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
7 changes: 3 additions & 4 deletions website/src/examples/memo/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,10 @@ function App() {

return (
<div>
<p>Timer: {count}</p>

<Memoed>This is not memoed.</Memoed>
<Memoed $memo>This is memoed.</Memoed>
<p>Timer: {count}</p>

<Memoed>This is not memoed.</Memoed>
<Memoed $memo>This is memoed.</Memoed>
</div>
);
}
Expand Down
1 change: 0 additions & 1 deletion website/src/examples/memo/jsx-runtime.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { createLocalJsxContext } from '../setup';
const ctx = createLocalJsxContext();
export const { jsx, jsxDEV, jsxs } = ctx;


const memoMap = new Map();

ctx.addMiddlewares(function memoMiddleware(next, type, { $memo, ...props }, key) {
Expand Down
2 changes: 1 addition & 1 deletion website/src/types.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export { };
export {};

declare module 'react' {
interface Attributes {
Expand Down

0 comments on commit 747c9fa

Please sign in to comment.