Skip to content

Commit

Permalink
[docs] Rename cacheRtl to rtlCache in RTL docs (#45010)
Browse files Browse the repository at this point in the history
Signed-off-by: Seyyed Mahdi <[email protected]>
Co-authored-by: Zeeshan Tamboli <[email protected]>
  • Loading branch information
Best-Sardar and ZeeshanTamboli authored Jan 14, 2025
1 parent 76cde8e commit 21b8431
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,13 @@ import { prefixer } from 'stylis';
import rtlPlugin from 'stylis-plugin-rtl';

// Create rtl cache
const cacheRtl = createCache({
const rtlCache = createCache({
key: 'muirtl',
stylisPlugins: [prefixer, rtlPlugin],
});

function Rtl(props) {
return <CacheProvider value={cacheRtl}>{props.children}</CacheProvider>;
return <CacheProvider value={rtlCache}>{props.children}</CacheProvider>;
}
```

Expand Down

0 comments on commit 21b8431

Please sign in to comment.