Skip to content

Commit 4d2bd79

Browse files
committed
use defaultValue in TextInput
1 parent 1c1c322 commit 4d2bd79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/idb-cache-app/src/App.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ const App = () => {
151151
<TextInput
152152
renderLabel="Cache key:"
153153
interaction="disabled"
154-
value={cacheKey}
154+
defaultValue={cacheKey}
155155
/>
156156
</Flex.Item>
157157
<Flex.Item>
@@ -175,7 +175,7 @@ const App = () => {
175175
<TextInput
176176
renderLabel="Cache buster:"
177177
interaction="disabled"
178-
value={cacheBuster}
178+
defaultValue={cacheBuster}
179179
/>
180180
</Flex.Item>
181181
<Flex.Item>

0 commit comments

Comments
 (0)