Skip to content

Commit

Permalink
fix modify column width (#7422)
Browse files Browse the repository at this point in the history
* fix modify column width

* fix warnings
  • Loading branch information
Michael18811380328 authored Jan 23, 2025
1 parent 0e11cdf commit bddd734
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions frontend/src/tag/views/all-tags/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const AllTags = ({ updateCurrentPath, ...params }) => {

const tagsTableWrapperRef = useRef(null);

const { isLoading, isReloading, tagsData, store, context, currentPath } = useTags();
const { isLoading, isReloading, tagsData, store, context, currentPath, modifyColumnWidth } = useTags();

const displayNodeKey = useRef('');

Expand Down Expand Up @@ -100,7 +100,7 @@ const AllTags = ({ updateCurrentPath, ...params }) => {
<TagsTable
context={context}
tagsData={tagsData}
modifyColumnWidth={store.modifyColumnWidth}
modifyColumnWidth={modifyColumnWidth}
setDisplayTag={onChangeDisplayTag}
isLoadingMoreRecords={isLoadingMore}
loadMore={loadMore}
Expand Down
2 changes: 0 additions & 2 deletions frontend/src/utils/map-utils.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { MAP_TYPE } from '../constants';
import { mediaUrl } from './constants';

const STATIC_RESOURCE_VERSION = 0.1;

export const initMapInfo = ({ baiduMapKey, googleMapKey, mineMapKey }) => {
if (baiduMapKey) return { type: MAP_TYPE.B_MAP, key: baiduMapKey };
if (googleMapKey) return { type: MAP_TYPE.G_MAP, key: googleMapKey };
Expand Down

0 comments on commit bddd734

Please sign in to comment.