Skip to content

Commit

Permalink
Tweak about description.
Browse files Browse the repository at this point in the history
  • Loading branch information
skrustev committed Dec 7, 2023
1 parent 42d7380 commit 465761e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/grids/grid/state-persistence-about/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function App() {
<div className="container sample">
<div style={{ textAlign: "center", width: "900px"}}>
<br />
<span>Usually navigating to the previous page, components will reinitialize as per their initial configuration, therefore the IgrGrid will lose its state.</span>
<span>By default navigating to the previous page, components will reinitialize as per their initial configuration, therefore the IgrGrid will lose its state.</span>
<br />
<span>What our App Component does is reading the state from the window.localStorage object and applying the corresponding state in the `useEffect`` hook.</span><br />
<IgrButton clicked={onBackClicked} variant={ButtonVariant.Contained}><span>Go Back</span></IgrButton>
Expand Down

0 comments on commit 465761e

Please sign in to comment.