teableio/teable

View on GitHub
apps/nextjs-app/src/features/app/blocks/view/kanban/KanbanViewBase.tsx

Summary

Maintainability
A
0 mins
Test Coverage
import { KanbanContainer } from './components';
import { useKanban } from './hooks';

export const KanbanViewBase = () => {
  const { stackCollection } = useKanban();

  if (stackCollection == null) {
    return null;
  }

  return (
    <div className="relative size-full overflow-x-auto overflow-y-hidden p-2">
      <KanbanContainer />
    </div>
  );
};