Skip to content

Commit

Permalink
cleanup unused elements
Browse files Browse the repository at this point in the history
  • Loading branch information
tabathadelane committed May 8, 2024
1 parent d0ef6a4 commit 281fad0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/pages/attribute-dictionary.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import React, { memo, useEffect, useState } from 'react';
import PropTypes from 'prop-types';
import { css } from '@emotion/react';
import {
ContributingGuidelines,
Layout,
Link,
Tag,
Expand All @@ -23,7 +22,7 @@ import ErrorBoundary from '../components/ErrorBoundary';

import events from '../data/attribute-dictionary.json';

const AttributeDictionary = ({ pageContext, location }) => {
const AttributeDictionary = ({ location }) => {
const [filteredEvents, setFilteredEvents] = useState([]);
const [filteredAttribute, setFilteredAttribute] = useState(null);
const [searchedAttribute, setSearchedAttribute] = useState(null);
Expand Down Expand Up @@ -157,7 +156,6 @@ const AttributeDictionary = ({ pageContext, location }) => {
};

AttributeDictionary.propTypes = {
pageContext: PropTypes.object.isRequired,
location: PropTypes.shape({
pathname: PropTypes.string.isRequired,
}).isRequired,
Expand Down

0 comments on commit 281fad0

Please sign in to comment.