Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
Signed-off-by: orweis <[email protected]>
  • Loading branch information
orweis committed Oct 28, 2024
1 parent 24567bf commit 4759b8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/commands/opa/policy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ interface QueryResult {
status: number;
}

export default function List({ options }: Props) {
export default function Policy({ options }: Props) {
const [error, setError] = React.useState(null);
// result of API
const [res, setRes] = React.useState<QueryResult>({
Expand Down Expand Up @@ -103,7 +103,7 @@ export default function List({ options }: Props) {
/>
</Box>
<Box padding={2} flexDirection="column" gap={1}>
<Select options={view} onChange={setSelection} />
<Select options={policyItems} onChange={setSelection} />
</Box>
</>
)}
Expand Down

0 comments on commit 4759b8c

Please sign in to comment.