Skip to content

Commit

Permalink
Fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
HazAT committed Feb 11, 2024
1 parent 8dbbf0c commit 3c02c88
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions app/changelog/%5Fadmin/create/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ export default async function ChangelogCreatePage() {
/>
</div>

<Suspense fallback={null}>
<ForwardRefEditor name="content" defaultValue="" className="w-full" />
</Suspense>
<ForwardRefEditor name="content" className="w-full" />

<footer className="flex items-center justify-between mt-2">
<Link href="/changelog/_admin" className="underline text-gray-500">
Expand Down
1 change: 0 additions & 1 deletion src/components/changelog/titleSlug.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ export function TitleSlug({defaultTitle = '', defaultSlug = ''}) {
name="slug"
className="w-full mb-2"
required
defaultValue={defaultSlug}
value={slug}
onChange={e => {
setSlug(e.target.value);
Expand Down

0 comments on commit 3c02c88

Please sign in to comment.