teableio/teable

View on GitHub
packages/sdk/src/components/comment/hooks/useRecordId.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { useContext } from 'react';
import { CommentContext } from '../context';

export const useRecordId = () => {
  return useContext(CommentContext).recordId;
};