Skip to content

Commit

Permalink
chore: fix wrong indentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitdevos committed Oct 27, 2023
1 parent 93b571e commit b2327a6
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/loc/OpenLoc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,20 +40,20 @@ export default function OpenLoc(props: Props) {
const [ autoPublish, setAutoPublish ] = useState(false);

useEffect(() => {
if(fees === undefined && client) {
if (fees === undefined && client) {
setFees(null);
(async function() {
if (locState instanceof AcceptedRequest) {
if (locState.data().locType === "Collection") {
const apiLimits = await limits.toApiLimits(client.logionApi)
(async function () {
if (locState instanceof AcceptedRequest) {
if (locState.data().locType === "Collection") {
const apiLimits = await limits.toApiLimits(client.logionApi)
setFees(await locState.estimateFeesOpenCollection({
...apiLimits,
autoPublish,
...apiLimits,
autoPublish,
}));
} else {
} else {
setFees(await locState.estimateFeesOpen({ autoPublish }));
}
}
}
})();
}
}, [ fees, client, props.loc, limits, locState, autoPublish ]);
Expand Down

0 comments on commit b2327a6

Please sign in to comment.