fix: react hook
This commit is contained in:
parent
01cbb6265e
commit
36964f4818
|
|
@ -162,7 +162,7 @@ const TemplateDetailPageV2: React.FC = () => {
|
||||||
<h2 className="text-2xl font-bold text-gray-900 mb-2">模板未找到</h2>
|
<h2 className="text-2xl font-bold text-gray-900 mb-2">模板未找到</h2>
|
||||||
<p className="text-gray-600 mb-4">请检查模板ID是否正确</p>
|
<p className="text-gray-600 mb-4">请检查模板ID是否正确</p>
|
||||||
<button
|
<button
|
||||||
onClick={() => navigate('/templates-v2')}
|
onClick={() => navigate('/templates')}
|
||||||
className="px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700"
|
className="px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700"
|
||||||
>
|
>
|
||||||
返回模板列表
|
返回模板列表
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue