Skip to content

Commit

Permalink
Fix/conflicts (#362)
Browse files Browse the repository at this point in the history
* update announcements

* replace Tctext

* update oci

* update url

* update

* fix

* remove

---------

Co-authored-by: Cyrille <[email protected]>
  • Loading branch information
mehdi-torabiv and cyri113 authored Dec 11, 2024
1 parent c561fd3 commit f669566
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 70 deletions.
68 changes: 0 additions & 68 deletions src/pages/not-found.tsx

This file was deleted.

4 changes: 2 additions & 2 deletions src/pages/reputation-score/score.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import TcBoxContainer from '@/components/shared/TcBox/TcBoxContainer';
import useAppStore from '@/store/useStore';

import { useSnackbar } from '@/context/SnackbarContext';
import { withRoles } from '@/utils/withRoles';

const ScorePage = () => {
const { showMessage } = useSnackbar();
Expand Down Expand Up @@ -39,7 +40,6 @@ const ScorePage = () => {
}
};

// Use URLSearchParams to extract query parameters
const params = new URLSearchParams(window.location.search);
const tokenId = params.get('tokenId');
const address = params.get('address');
Expand Down Expand Up @@ -177,4 +177,4 @@ const ScorePage = () => {
);
};

export default ScorePage;
export default withRoles(ScorePage, []);

0 comments on commit f669566

Please sign in to comment.