Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/use-url-state/demo/demo1.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/**
* title: Default usage
* desc: Store the state into url query. By set the value to `undefind`, the attribute can be removed from the url query.
* desc: Store the state into url query. By set the value to `undefined`, the attribute can be removed from the url query.
*
* title.zh-CN: 基础用法
* desc.zh-CN: 将状态同步到 url query 中。通过设置值为 `undefind`, 可以从 url query 上彻底删除某个属性,从而使用默认值。
* desc.zh-CN: 将状态同步到 url query 中。通过设置值为 `undefined`, 可以从 url query 上彻底删除某个属性,从而使用默认值。
*/

import React from 'react';
Expand Down