Skip to content

Commit

Permalink
fix: remove unnecessary lines
Browse files Browse the repository at this point in the history
Signed-off-by: Olga Lavtar <olavtar@redhat.com>
  • Loading branch information
olavtar committed Jan 14, 2025
1 parent a81b936 commit c7c2594
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions frontend/src/concepts/nimServing/NIMAvailabilityContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@ export const NIMAvailabilityContext = React.createContext<NIMAvailabilityContext
export const NimContextProvider: React.FC<NIMAvailabilityContextProviderProps> = ({
children,
...props
}) => {
return <EnabledNimContextProvider {...props}>{children}</EnabledNimContextProvider>;

return children;
};
}) => <EnabledNimContextProvider {...props}>{children}</EnabledNimContextProvider>;

const EnabledNimContextProvider: React.FC<NIMAvailabilityContextProviderProps> = ({ children }) => {
const [isNIMAvailable, loaded] = useIsNIMAvailable();
Expand Down

0 comments on commit c7c2594

Please sign in to comment.