diff --git a/web/components/contract/contract-tabs.tsx b/web/components/contract/contract-tabs.tsx index 9ce17396..fdfc5c3d 100644 --- a/web/components/contract/contract-tabs.tsx +++ b/web/components/contract/contract-tabs.tsx @@ -81,7 +81,7 @@ const CommentsTabContent = memo(function CommentsTabContent(props: { const tips = useTipTxns({ contractId: contract.id }) const comments = useComments(contract.id) ?? props.comments const [sort, setSort] = usePersistentState<'Newest' | 'Best'>('Best', { - key: `contract-${contract.id}-comments-sort`, + key: `contract-comments-sort`, store: storageStore(safeLocalStorage()), }) const me = useUser()