fix(StorePage): change initial value of tabActive state from "Flows" to "All" for better default behavior
This commit is contained in:
parent
6e065ddb28
commit
66972ad489
1 changed files with 2 additions and 2 deletions
|
|
@ -40,7 +40,7 @@ export default function StorePage(): JSX.Element {
|
|||
const [pageIndex, setPageIndex] = useState(1);
|
||||
const [pageOrder, setPageOrder] = useState("Popular");
|
||||
const [tags, setTags] = useState<{ id: string; name: string }[]>([]);
|
||||
const [tabActive, setTabActive] = useState("Flows");
|
||||
const [tabActive, setTabActive] = useState("All");
|
||||
const [searchText, setSearchText] = useState("");
|
||||
|
||||
useEffect(() => {
|
||||
|
|
@ -261,7 +261,7 @@ export default function StorePage(): JSX.Element {
|
|||
}}
|
||||
>
|
||||
<SelectTrigger>
|
||||
<SelectValue placeholder="Sort By" />
|
||||
<SelectValue placeholder="Popular" />
|
||||
</SelectTrigger>
|
||||
<SelectContent>
|
||||
<SelectItem value="Popular">Most Popular</SelectItem>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue