Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
634750802 committed Jul 31, 2024
1 parent 7374dba commit 87949e4
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@

import { CreateDatasourceForm } from '@/components/datasource/CreateDatasourceForm';
import { isDatasourceType } from '@/components/datasource/types';
import { notFound } from 'next/navigation';
import { useRouter } from 'next/router';
import { notFound, useRouter } from 'next/navigation';
import { useTransition } from 'react';

const allowedTypes = ['file', 'web-sitemap', 'web-single-page'];

export default function CreateDatasourcePage ({ params }: { params: { type: string } }) {
const [transitioning, startTransition] = useTransition();
const router = useRouter();
Expand Down

0 comments on commit 87949e4

Please sign in to comment.