diff --git a/.changeset/eighty-clouds-end.md b/.changeset/eighty-clouds-end.md new file mode 100644 index 000000000..8b42ae6a1 --- /dev/null +++ b/.changeset/eighty-clouds-end.md @@ -0,0 +1,5 @@ +--- +"@blobscan/web": patch +--- + +Fixed an issue where the Rollup filter was not being set correctly from query parameters diff --git a/apps/web/src/components/Filters/RollupFilter.tsx b/apps/web/src/components/Filters/RollupFilter.tsx index 414f0ccd4..cfe06dfc2 100644 --- a/apps/web/src/components/Filters/RollupFilter.tsx +++ b/apps/web/src/components/Filters/RollupFilter.tsx @@ -20,27 +20,28 @@ type RollupFilterProps = { const chainId = getChainIdByName(env.NEXT_PUBLIC_NETWORK_NAME); const rollups = chainId ? getChainRollups(chainId) : []; -export const ROLLUP_OPTIONS: Option[] = [ +export const ROLLUP_OPTIONS = [ { value: "null", selectedLabel: None, label: "None", }, - ...rollups.map