Skip to content

Commit

Permalink
[frontend] fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
delemaf committed Nov 21, 2024
1 parent fd03dae commit 3525056
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ interface StixCoreRelationshipCreationFromEntityProps {
targetStixCyberObservableTypes?: string[];
defaultStartTime: string;
defaultStopTime: string;
paginationOptions: Record<string, any>;
paginationOptions: Record<string, unknown>;
connectionKey?: string;
paddingRight: number;
variant?: string;
Expand Down Expand Up @@ -626,7 +626,7 @@ const StixCoreRelationshipCreationFromEntity: FunctionComponent<StixCoreRelation
// we need to filter them to prevent getConnection to fail
const { count: _, ...options } = paginationOptions;

if (userProxy && options) {
if (userProxy) {
conn = ConnectionHandler.getConnection(
userProxy,
connKey,
Expand Down

0 comments on commit 3525056

Please sign in to comment.