Hayek was not primarily influenced by Kant in the area of political philosophy. [...] Where Kant primarily influenced Hayek was in ontology and metaphysics.
Hayek's Journey: The Mind of Friedrich Hayek (2003) - Ch. 2 : German and Viennese Intellectual Thought