Correct the grammar issues in the given sentence.
I decided that which camera I would buy depends on not the feature, but the price.
I decided that which camera I would buy depends not on the features, but the price.