Skip to content

Commit

Permalink
chore: yarn lint-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
WaDadidou committed Dec 20, 2024
1 parent 74ad2d9 commit 1978419
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions packages/screens/FeedNewArticle/FeedNewArticleScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import { SVG } from "@/components/SVG";
import { ScreenContainer } from "@/components/ScreenContainer";
import { ScreenTitle } from "@/components/ScreenContainer/ScreenTitle";
import { TertiaryBox } from "@/components/boxes/TertiaryBox";
import { DAOSelector } from "@/components/dao/DAOSelector";
import { CustomPressable } from "@/components/buttons/CustomPressable";
import { PrimaryButton } from "@/components/buttons/PrimaryButton";
import { DAOSelector } from "@/components/dao/DAOSelector";
import { Label, TextInputCustom } from "@/components/inputs/TextInputCustom";
import { FileUploader } from "@/components/inputs/fileUploader";
import { FeedPostingProgressBar } from "@/components/loaders/FeedPostingProgressBar";
Expand Down Expand Up @@ -206,7 +206,7 @@ export const FeedNewArticleScreen: ScreenFC<"FeedNewArticle"> = () => {
});
}
};

// Reset DAOSelector when the user selects another wallet
const [daoSelectorKey, setDaoSelectorKey] = useState(0);
useEffect(() => {
Expand Down Expand Up @@ -244,13 +244,13 @@ export const FeedNewArticleScreen: ScreenFC<"FeedNewArticle"> = () => {
width,
}}
>
<DAOSelector
onSelect={setSelectedDAOId}
userId={wallet?.userId}
style={{ width: "100%" }}
key={daoSelectorKey}
/>
<SpacerColumn size={3} />
<DAOSelector
onSelect={setSelectedDAOId}
userId={wallet?.userId}
style={{ width: "100%" }}
key={daoSelectorKey}
/>
<SpacerColumn size={3} />

<View style={{ flexDirection: "row", alignItems: "center" }}>
<TertiaryBox
Expand Down Expand Up @@ -294,8 +294,8 @@ export const FeedNewArticleScreen: ScreenFC<"FeedNewArticle"> = () => {

<SpacerRow size={2} />
<PrimaryButton
text={selectedDaoId ? "Propose" : "Publish"}
width={120}
text={selectedDaoId ? "Propose" : "Publish"}
width={120}
disabled={
!formValues.title ||
!formValues.shortDescription ||
Expand Down

0 comments on commit 1978419

Please sign in to comment.