Got working preact SSR
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import { Link } from '../Router.jsx'
|
||||
import { Markdown } from './Markdown.jsx'
|
||||
|
||||
export const Problem = ({ id, content }) => {
|
||||
@@ -6,9 +5,7 @@ export const Problem = ({ id, content }) => {
|
||||
<div class="problem">
|
||||
<div class="problem-header">
|
||||
<div class="problem-title">
|
||||
<Link page={`/problem/:id`} params={{ id }}>
|
||||
Problema {id}
|
||||
</Link>
|
||||
<a href={`/problem/${id}`}>Problema {id}</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="problem-content">
|
||||
|
||||
Reference in New Issue
Block a user