Skip to content

Commit

Permalink
[website] Replace React.MutableRefObject with React.RefObject (#43284)
Browse files Browse the repository at this point in the history
  • Loading branch information
aarongarciah authored Aug 13, 2024
1 parent f88194a commit ff7f4e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/src/components/pricing/PricingTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1088,7 +1088,7 @@ function StickyHead({
container,
disableCalculation = false,
}: {
container: React.MutableRefObject<HTMLElement | null>;
container: React.RefObject<HTMLElement | null>;
disableCalculation?: boolean;
}) {
const [hidden, setHidden] = React.useState(true);
Expand Down
2 changes: 1 addition & 1 deletion docs/src/components/productMaterial/MaterialStyling.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const endLine = [37, 20, 12];
const scrollTo = [27, 10, 4];

export const useResizeHandle = (
target: React.MutableRefObject<HTMLDivElement | null>,
target: React.RefObject<HTMLDivElement | null>,
options?: { minWidth?: string; maxWidth?: string },
) => {
const { minWidth = '0px', maxWidth = '100%' } = options || {};
Expand Down

0 comments on commit ff7f4e0

Please sign in to comment.