Skip to content

Commit

Permalink
example(hackernews): improve
Browse files Browse the repository at this point in the history
  • Loading branch information
sorrycc committed Nov 13, 2024
1 parent 599a505 commit 5a53399
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/hackernews/src/global.less
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ body {
}

a {
color: #34495e;
color: #5e4834;
text-decoration: none;
}
3 changes: 1 addition & 2 deletions examples/hackernews/src/pages/__root.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Fragment } from 'react';
import React, { Link, Outlet, createRootRoute } from '@umijs/tnf/router';
import '../global.less';
import styles from './index.module.less';
import styles from './__root.module.less';

export const Route = createRootRoute({
component: () => {
Expand Down
2 changes: 1 addition & 1 deletion src/sync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,5 +114,5 @@ ReactDOM.createRoot(document.getElementById('root')!).render(
`,
);

console.log('Prepared');
console.log('Synced');
}

0 comments on commit 5a53399

Please sign in to comment.